Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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 2.097/2.097, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001197/0.001197, allocations: 187.6 kB / 490.8 MB, free: 1.969 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.538/1.538, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001043/0.001044, allocations: 87.66 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7818/0.7829, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/1.127, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/2.279, allocations: 434.8 MB / 1.636 GB, free: 13.04 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/2.279, allocations: 81.89 kB / 1.636 GB, free: 13 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 4.357/6.636, allocations: 1.071 GB / 2.707 GB, free: 252.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/6.636, allocations: 7.094 kB / 2.707 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/6.639, allocations: 486.8 kB / 2.707 GB, free: 252.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/6.644, allocations: 1.311 MB / 2.709 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/6.644, allocations: 109.6 kB / 2.709 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/6.645, allocations: 50.38 kB / 2.709 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002027/6.647, allocations: 0.6325 MB / 2.709 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/6.648, allocations: 0.7606 MB / 2.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/6.648, allocations: 0 / 2.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/6.649, allocations: 11.09 kB / 2.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/6.649, allocations: 37.23 kB / 2.71 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009095/6.658, allocations: 4.777 MB / 2.715 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/6.661, allocations: 0.6905 MB / 2.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/6.661, allocations: 211.3 kB / 2.716 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/6.662, allocations: 0.9068 MB / 2.717 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/6.662, allocations: 37.75 kB / 2.717 GB, free: 248.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 4.288e-06/6.662, allocations: 7.312 kB / 2.717 GB, free: 248.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.003681/6.666, allocations: 0.7888 MB / 2.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/6.666, allocations: 61.95 kB / 2.717 GB, free: 248.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/6.668, allocations: 0.7426 MB / 2.718 GB, free: 247.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/6.668, allocations: 29.52 kB / 2.718 GB, free: 247.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/6.669, allocations: 379.3 kB / 2.719 GB, free: 247.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/6.669, allocations: 151.1 kB / 2.719 GB, free: 247.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/6.669, allocations: 0 / 2.719 GB, free: 247.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001302/6.669, allocations: 330.3 kB / 2.719 GB, free: 247.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/6.67, allocations: 177 kB / 2.719 GB, free: 247.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/6.67, allocations: 414.9 kB / 2.72 GB, free: 247 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/6.671, allocations: 263.8 kB / 2.72 GB, free: 247 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/6.671, allocations: 6.281 kB / 2.72 GB, free: 247 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003809/6.675, allocations: 0.9421 MB / 2.721 GB, free: 246.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007408/6.676, allocations: 1.577 MB / 2.722 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/6.676, allocations: 3.656 kB / 2.722 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/6.677, allocations: 240.6 kB / 2.723 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/6.677, allocations: 120.1 kB / 2.723 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/6.679, allocations: 0.886 MB / 2.724 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/6.68, allocations: 182.2 kB / 2.724 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/6.681, allocations: 33.92 kB / 2.724 GB, free: 244.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/6.681, allocations: 11.38 kB / 2.724 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003214/6.684, allocations: 0.8147 MB / 2.725 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/6.684, allocations: 9.531 kB / 2.725 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/6.685, allocations: 228.2 kB / 2.725 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/6.685, allocations: 131.5 kB / 2.725 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/6.686, allocations: 0.8698 MB / 2.726 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/6.688, allocations: 146.4 kB / 2.726 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/6.688, allocations: 32.7 kB / 2.726 GB, free: 244.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003299/6.689, allocations: 126.9 kB / 2.726 GB, free: 244.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/6.689, allocations: 98.44 kB / 2.726 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/6.693, allocations: 0.9754 MB / 2.727 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/6.693, allocations: 13.08 kB / 2.727 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/6.693, allocations: 0 / 2.727 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/6.693, allocations: 3.938 kB / 2.727 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/6.699, allocations: 1.918 MB / 2.729 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/6.699, allocations: 3.938 kB / 2.729 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/6.7, allocations: 69.22 kB / 2.729 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008317/6.701, allocations: 249.8 kB / 2.729 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/6.701, allocations: 14.27 kB / 2.729 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/6.702, allocations: 0.9099 MB / 2.73 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/6.702, allocations: 3.688 kB / 2.73 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00373/6.706, allocations: 1.148 MB / 2.731 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004011/6.71, allocations: 1.582 MB / 2.733 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009321/6.711, allocations: 264 kB / 2.733 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/6.711, allocations: 3.891 kB / 2.733 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/6.712, allocations: 114 kB / 2.733 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/6.713, allocations: 35.56 kB / 2.733 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/6.713, allocations: 21.38 kB / 2.733 GB, free: 241.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001181/6.714, allocations: 0.5677 MB / 2.734 GB, free: 241.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004573/6.718, allocations: 0.8097 MB / 2.735 GB, free: 241.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/6.72, allocations: 0.678 MB / 2.735 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002218/6.722, allocations: 0.8138 MB / 2.736 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/6.722, allocations: 0 / 2.736 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/6.723, allocations: 280.7 kB / 2.736 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/6.725, allocations: 367.3 kB / 2.737 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/6.731, allocations: 1.623 MB / 2.738 GB, free: 240.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/6.733, allocations: 1.171 MB / 2.739 GB, free: 240.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.522e-06/6.733, allocations: 0 / 2.739 GB, free: 240.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)