Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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/BuildingSystems 2.0.0-master/package.mo): time 0.7268/0.7268, allocations: 141.8 MB / 149.1 MB, free: 3.75 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001066, allocations: 186.6 kB / 181.9 MB, free: 15.5 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.4 MB / 436 MB, free: 8.645 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 96.66 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 272.8 kB / 0.5884 GB, free: 11.71 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2048/0.2067, allocations: 89.63 MB / 0.676 GB, free: 2.004 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.6313, allocations: 82.77 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.7456, allocations: 108.5 MB / 0.8627 GB, free: 3.645 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.7458, allocations: 75.94 kB / 0.8628 GB, free: 3.574 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.005057/0.7509, allocations: 2.022 MB / 0.8648 GB, free: 1.543 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7509, allocations: 9.25 kB / 0.8648 GB, free: 1.535 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.751, allocations: 15.81 kB / 0.8648 GB, free: 1.52 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.7512, allocations: 210.6 kB / 0.865 GB, free: 1.273 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.7512, allocations: 8 kB / 0.865 GB, free: 1.266 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.7512, allocations: 4 kB / 0.865 GB, free: 1.262 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.7514, allocations: 55.98 kB / 0.8651 GB, free: 1.207 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.7515, allocations: 99.31 kB / 0.8652 GB, free: 1.098 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7515, allocations: 0 / 0.8652 GB, free: 1.098 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7515, allocations: 0 / 0.8652 GB, free: 1.098 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7515, allocations: 4 kB / 0.8652 GB, free: 1.094 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.7521, allocations: 441.3 kB / 0.8656 GB, free: 0.6211 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.7524, allocations: 109.3 kB / 0.8657 GB, free: 0.4961 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.7524, allocations: 37.72 kB / 0.8657 GB, free: 464 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.7525, allocations: 8.141 kB / 0.8657 GB, free: 456 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.7525, allocations: 34.55 kB / 0.8658 GB, free: 412 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.7525, allocations: 4 kB / 0.8658 GB, free: 408 kB / 0.5263 GB Notification: Performance of matching and sorting (n=9): time 0.0002444/0.7528, allocations: 103.5 kB / 0.8659 GB, free: 300 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.7528, allocations: 77.11 kB / 0.8659 GB, free: 204 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.7529, allocations: 139.3 kB / 0.8661 GB, free: 52 kB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.7529, allocations: 25.7 kB / 0.8661 GB, free: 20 kB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.753, allocations: 100 kB / 0.8662 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.753, allocations: 31.55 kB / 0.8662 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.753, allocations: 0 / 0.8662 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7532, allocations: 326.7 kB / 0.8665 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.7532, allocations: 28 kB / 0.8666 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.7533, allocations: 37.66 kB / 0.8666 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.7533, allocations: 27.98 kB / 0.8666 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7534, allocations: 0 / 0.8666 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.7535, allocations: 101.6 kB / 0.8667 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.7536, allocations: 4 kB / 0.8667 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7536, allocations: 0 / 0.8667 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7536, allocations: 7.938 kB / 0.8667 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.7538, allocations: 31.92 kB / 0.8668 GB, free: 15.31 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7538, allocations: 8.828 kB / 0.8668 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.7539, allocations: 12 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.7539, allocations: 4 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.754, allocations: 109.9 kB / 0.8669 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.7541, allocations: 15.8 kB / 0.8669 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.7543, allocations: 114.7 kB / 0.867 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7543, allocations: 4 kB / 0.867 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7543, allocations: 256 / 0.867 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7544, allocations: 4 kB / 0.867 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.7546, allocations: 202.1 kB / 0.8672 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7546, allocations: 0.8438 kB / 0.8672 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.7548, allocations: 27.98 kB / 0.8673 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7548, allocations: 0 / 0.8673 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.7548, allocations: 4 kB / 0.8673 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7548, allocations: 0 / 0.8673 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7548, allocations: 7.938 kB / 0.8673 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002327/0.755, allocations: 281.2 kB / 0.8675 GB, free: 14.46 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003461/0.7554, allocations: 0.6536 MB / 0.8682 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.7555, allocations: 93 kB / 0.8683 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.7555, allocations: 0 / 0.8683 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.7557, allocations: 11.98 kB / 0.8683 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.7558, allocations: 11.98 kB / 0.8683 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.7558, allocations: 8 kB / 0.8683 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of sort global known variables: time 7.478e-05/0.7559, allocations: 117 kB / 0.8684 GB, free: 13.53 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008176/0.7567, allocations: 24 kB / 0.8684 GB, free: 13.5 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.7568, allocations: 107.1 kB / 0.8685 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.757, allocations: 64 kB / 0.8686 GB, free: 13.33 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.757, allocations: 0 / 0.8686 GB, free: 13.33 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.7571, allocations: 39.94 kB / 0.8686 GB, free: 13.29 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.7574, allocations: 29.86 kB / 0.8687 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.7578, allocations: 156.8 kB / 0.8688 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7582, allocations: 0.7348 MB / 0.8695 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.7582, allocations: 2.25 kB / 0.8695 GB, free: 12.32 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)