Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 188.5 kB / 487 MB, free: 5.332 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 95.62 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.554e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3141, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.691/5.005, allocations: 1.953 GB / 3.158 GB, free: 372 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/5.006, allocations: 99.88 kB / 3.158 GB, free: 371.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.569/11.57, allocations: 2.005 GB / 5.163 GB, free: 113.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002431/11.57, allocations: 58.64 kB / 5.163 GB, free: 113.6 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.0067/11.58, allocations: 2.57 MB / 5.166 GB, free: 111 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/11.58, allocations: 9.031 kB / 5.166 GB, free: 111 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00649/11.59, allocations: 0.9475 MB / 5.167 GB, free: 110.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006699/11.59, allocations: 2.416 MB / 5.169 GB, free: 107.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/11.6, allocations: 51.91 kB / 5.169 GB, free: 107.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/11.6, allocations: 103.9 kB / 5.169 GB, free: 107.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002512/11.6, allocations: 1.365 MB / 5.171 GB, free: 106.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/11.6, allocations: 1.548 MB / 5.172 GB, free: 104.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/11.6, allocations: 7.938 kB / 5.172 GB, free: 104.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/11.6, allocations: 0 / 5.172 GB, free: 104.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/11.6, allocations: 58.88 kB / 5.172 GB, free: 104.4 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/11.61, allocations: 8.585 MB / 5.181 GB, free: 95.37 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/11.61, allocations: 0.6929 MB / 5.181 GB, free: 94.67 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/11.62, allocations: 0.6343 MB / 5.182 GB, free: 94.04 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/11.62, allocations: 377.8 kB / 5.182 GB, free: 93.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/11.62, allocations: 0.624 MB / 5.183 GB, free: 92.96 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 6.001e-06/11.62, allocations: 0 / 5.183 GB, free: 92.96 MB / 1.182 GB Notification: Performance of matching and sorting (n=107): time 0.008266/11.62, allocations: 3.046 MB / 5.186 GB, free: 89.86 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/11.63, allocations: 115.8 kB / 5.186 GB, free: 89.72 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/11.63, allocations: 1.19 MB / 5.187 GB, free: 88.49 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/11.63, allocations: 29.7 kB / 5.187 GB, free: 88.45 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/11.63, allocations: 0.617 MB / 5.188 GB, free: 87.82 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/11.63, allocations: 369.6 kB / 5.188 GB, free: 87.46 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/11.63, allocations: 0 / 5.188 GB, free: 87.46 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/11.63, allocations: 349.9 kB / 5.189 GB, free: 87.11 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/11.63, allocations: 442.5 kB / 5.189 GB, free: 86.68 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/11.63, allocations: 0.7724 MB / 5.19 GB, free: 85.77 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/11.64, allocations: 2.063 MB / 5.192 GB, free: 83.68 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/11.64, allocations: 4 kB / 5.192 GB, free: 83.68 MB / 1.182 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002628/11.64, allocations: 1.444 MB / 5.193 GB, free: 82.23 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005911/11.64, allocations: 2.91 MB / 5.196 GB, free: 79.09 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/11.64, allocations: 8 kB / 5.196 GB, free: 79.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/11.64, allocations: 44.84 kB / 5.196 GB, free: 79.04 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/11.64, allocations: 299.6 kB / 5.196 GB, free: 78.75 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009925/11.64, allocations: 1.424 MB / 5.198 GB, free: 77.21 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/11.64, allocations: 159.7 kB / 5.198 GB, free: 77.05 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/11.64, allocations: 59.97 kB / 5.198 GB, free: 77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/11.64, allocations: 8 kB / 5.198 GB, free: 76.99 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00198/11.65, allocations: 1.195 MB / 5.199 GB, free: 75.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/11.65, allocations: 8 kB / 5.199 GB, free: 75.78 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/11.65, allocations: 45.47 kB / 5.199 GB, free: 75.73 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/11.65, allocations: 295.6 kB / 5.199 GB, free: 75.45 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000852/11.65, allocations: 1.424 MB / 5.201 GB, free: 73.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/11.65, allocations: 163.7 kB / 5.201 GB, free: 73.74 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/11.65, allocations: 55.97 kB / 5.201 GB, free: 73.69 MB / 1.182 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003359/11.65, allocations: 140.7 kB / 5.201 GB, free: 73.54 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/11.65, allocations: 185.7 kB / 5.201 GB, free: 73.36 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/11.65, allocations: 1.316 MB / 5.203 GB, free: 72.03 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/11.65, allocations: 12 kB / 5.203 GB, free: 72.02 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-06/11.65, allocations: 4 kB / 5.203 GB, free: 72.02 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001581/11.66, allocations: 1.062 MB / 5.204 GB, free: 70.94 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/11.66, allocations: 3.098 MB / 5.207 GB, free: 67.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/11.66, allocations: 128 / 5.207 GB, free: 67.79 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/11.66, allocations: 251.7 kB / 5.207 GB, free: 67.54 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/11.66, allocations: 69.67 kB / 5.207 GB, free: 67.46 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/11.66, allocations: 19.92 kB / 5.207 GB, free: 67.45 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/11.66, allocations: 2.65 MB / 5.21 GB, free: 64.56 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/11.66, allocations: 0 / 5.21 GB, free: 64.56 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002793/11.67, allocations: 1.993 MB / 5.212 GB, free: 62.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/11.67, allocations: 378.6 kB / 5.212 GB, free: 62.11 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/11.67, allocations: 11.98 kB / 5.212 GB, free: 62.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/11.67, allocations: 135.7 kB / 5.212 GB, free: 61.96 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/11.67, allocations: 60.91 kB / 5.212 GB, free: 61.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/11.67, allocations: 43.88 kB / 5.212 GB, free: 61.86 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001591/11.67, allocations: 0.9015 MB / 5.213 GB, free: 60.93 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004852/11.68, allocations: 1.134 MB / 5.214 GB, free: 59.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.medium.Xi[1],vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.medium.Xi[1],hea.vol.dynBal.U,hea.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006319/11.68, allocations: 3.628 MB / 5.218 GB, free: 56.16 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003712/11.69, allocations: 2.083 MB / 5.22 GB, free: 54.05 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/11.69, allocations: 3.938 kB / 5.22 GB, free: 54.05 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/11.69, allocations: 0.754 MB / 5.22 GB, free: 53.27 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/11.69, allocations: 0.8776 MB / 5.221 GB, free: 52.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/11.7, allocations: 3.239 MB / 5.225 GB, free: 49.11 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/11.7, allocations: 1.784 MB / 5.226 GB, free: 47.28 MB / 1.182 GB Notification: Performance of SimCode: time 1.723e-06/11.7, allocations: 0 / 5.226 GB, free: 47.28 MB / 1.182 GB Notification: Performance of Templates: time 0.8261/12.53, allocations: 58.33 MB / 5.283 GB, free: 289.6 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches