Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) [: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 10.0.0-master/package.mo): time 1.951/1.951, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001205/0.001205, allocations: 181.2 kB / 490.8 MB, free: 1.906 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.352/1.352, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 99.03 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5979/0.5989, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.8598, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.92, allocations: 424.8 MB / 1.627 GB, free: 6.828 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.92, allocations: 95.42 kB / 1.627 GB, free: 6.777 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 1.885/3.805, allocations: 0.546 GB / 2.173 GB, free: 5.266 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/3.805, allocations: 8 kB / 2.173 GB, free: 5.258 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/3.807, allocations: 245.8 kB / 2.173 GB, free: 5.016 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/3.812, allocations: 1.731 MB / 2.175 GB, free: 3.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/3.812, allocations: 28 kB / 2.175 GB, free: 3.203 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/3.812, allocations: 60 kB / 2.175 GB, free: 3.145 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001749/3.814, allocations: 0.6991 MB / 2.175 GB, free: 2.445 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/3.816, allocations: 0.8817 MB / 2.176 GB, free: 1.531 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/3.816, allocations: 0 / 2.176 GB, free: 1.531 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/3.816, allocations: 4 kB / 2.176 GB, free: 1.527 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/3.816, allocations: 45.92 kB / 2.176 GB, free: 1.48 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/3.827, allocations: 5.083 MB / 2.181 GB, free: 12.16 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/3.829, allocations: 473.1 kB / 2.182 GB, free: 11.69 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/3.829, allocations: 258.2 kB / 2.182 GB, free: 11.44 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/3.83, allocations: 0.8316 MB / 2.183 GB, free: 10.42 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/3.83, allocations: 39.06 kB / 2.183 GB, free: 10.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.827e-06/3.83, allocations: 0 / 2.183 GB, free: 10.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.005539/3.836, allocations: 1.035 MB / 2.184 GB, free: 9.324 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/3.836, allocations: 55.91 kB / 2.184 GB, free: 9.258 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/3.838, allocations: 0.887 MB / 2.185 GB, free: 8.359 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/3.838, allocations: 29.7 kB / 2.185 GB, free: 8.324 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/3.838, allocations: 443.5 kB / 2.185 GB, free: 7.883 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/3.839, allocations: 197 kB / 2.185 GB, free: 7.688 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/3.839, allocations: 0 / 2.185 GB, free: 7.688 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001669/3.839, allocations: 334 kB / 2.186 GB, free: 7.355 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/3.839, allocations: 197.2 kB / 2.186 GB, free: 7.164 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/3.84, allocations: 407.6 kB / 2.186 GB, free: 6.676 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/3.841, allocations: 293.9 kB / 2.186 GB, free: 6.391 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/3.841, allocations: 0 / 2.186 GB, free: 6.391 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004993/3.846, allocations: 1.174 MB / 2.188 GB, free: 5.203 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/3.847, allocations: 1.401 MB / 2.189 GB, free: 3.703 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/3.847, allocations: 11.94 kB / 2.189 GB, free: 3.691 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/3.847, allocations: 104.8 kB / 2.189 GB, free: 3.586 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/3.848, allocations: 163.8 kB / 2.189 GB, free: 3.426 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/3.849, allocations: 0.7826 MB / 2.19 GB, free: 2.617 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/3.851, allocations: 131.2 kB / 2.19 GB, free: 2.488 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/3.851, allocations: 35.98 kB / 2.19 GB, free: 2.453 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/3.851, allocations: 4 kB / 2.19 GB, free: 2.449 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004394/3.855, allocations: 1.018 MB / 2.191 GB, free: 1.426 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/3.855, allocations: 8.031 kB / 2.191 GB, free: 1.418 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004743/3.856, allocations: 104.8 kB / 2.191 GB, free: 1.312 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/3.857, allocations: 167.7 kB / 2.191 GB, free: 1.148 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/3.858, allocations: 0.7942 MB / 2.192 GB, free: 336 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/3.859, allocations: 111.4 kB / 2.192 GB, free: 224 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/3.859, allocations: 35.98 kB / 2.192 GB, free: 188 kB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003189/3.86, allocations: 124.7 kB / 2.192 GB, free: 56 kB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6024/4.462, allocations: 116.3 kB / 2.193 GB, free: 376.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/4.467, allocations: 1.174 MB / 2.194 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/4.467, allocations: 14.22 kB / 2.194 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/4.467, allocations: 3.844 kB / 2.194 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003783/4.471, allocations: 1.069 MB / 2.195 GB, free: 375.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/4.478, allocations: 2.369 MB / 2.197 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/4.478, allocations: 3.969 kB / 2.197 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/4.478, allocations: 126.8 kB / 2.197 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/4.478, allocations: 98.06 kB / 2.197 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/4.479, allocations: 14.7 kB / 2.197 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/4.482, allocations: 2.09 MB / 2.199 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.482, allocations: 2.312 kB / 2.199 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004787/4.487, allocations: 1.738 MB / 2.201 GB, free: 373.8 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005503/4.492, allocations: 2.479 MB / 2.203 GB, free: 373 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/4.493, allocations: 308.4 kB / 2.204 GB, free: 372.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/4.493, allocations: 7.453 kB / 2.204 GB, free: 372.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/4.494, allocations: 67 kB / 2.204 GB, free: 372.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/4.494, allocations: 45.91 kB / 2.204 GB, free: 372.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/4.494, allocations: 34 kB / 2.204 GB, free: 372.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009985/4.495, allocations: 0.6798 MB / 2.205 GB, free: 372.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003973/4.499, allocations: 1.014 MB / 2.206 GB, free: 372.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/4.501, allocations: 0.7457 MB / 2.206 GB, free: 372.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002666/4.503, allocations: 1.051 MB / 2.207 GB, free: 372.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/4.504, allocations: 2.969 kB / 2.207 GB, free: 372.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/4.505, allocations: 0.4907 MB / 2.208 GB, free: 372.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/4.507, allocations: 0.5279 MB / 2.208 GB, free: 372.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/4.511, allocations: 1.751 MB / 2.21 GB, free: 371.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008892/4.512, allocations: 1.307 MB / 2.211 GB, free: 371.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.924e-06/4.512, allocations: 0 / 2.211 GB, free: 371.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)