Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_SetPoints_Validation_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 177.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.003/1.003, allocations: 205.1 MB / 0.6195 GB, free: 11.9 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007405/0.0007405, allocations: 84.77 kB / 0.7326 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1779/0.1786, allocations: 121.5 MB / 0.8512 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.5956, allocations: 115.3 MB / 0.9638 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.7255, allocations: 138.6 MB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001437/0.7257, allocations: 71.95 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.02084/0.7466, allocations: 9.015 MB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.7466, allocations: 8.5 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.7467, allocations: 71.16 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.747, allocations: 279.5 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.747, allocations: 16 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.7471, allocations: 36 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005342/0.7476, allocations: 318.6 kB / 1.109 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.7482, allocations: 424.1 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7483, allocations: 3.938 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.7483, allocations: 0 / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.7483, allocations: 15.98 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.7504, allocations: 1.452 MB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.751, allocations: 273.4 kB / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.7511, allocations: 101.7 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.7512, allocations: 4 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.7514, allocations: 165.1 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.7514, allocations: 0 / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0004293/0.7518, allocations: 265.6 kB / 1.111 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.7519, allocations: 85.11 kB / 1.111 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.7522, allocations: 310 kB / 1.112 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.7522, allocations: 29.7 kB / 1.112 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.7524, allocations: 260.1 kB / 1.112 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.7525, allocations: 102.5 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.7525, allocations: 0 / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7526, allocations: 348.5 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.7528, allocations: 120 kB / 1.112 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.7531, allocations: 167.5 kB / 1.113 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.7534, allocations: 142.2 kB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7535, allocations: 0 / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007362/0.7542, allocations: 395.6 kB / 1.113 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.7542, allocations: 4 kB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.7542, allocations: 0 / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7542, allocations: 4 kB / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.7546, allocations: 69.53 kB / 1.113 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7546, allocations: 3.984 kB / 1.113 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.755, allocations: 79.59 kB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.755, allocations: 11.98 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001068/0.7551, allocations: 113.3 kB / 1.113 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.7552, allocations: 41.69 kB / 1.113 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.7557, allocations: 277.4 kB / 1.114 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7557, allocations: 4 kB / 1.114 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7557, allocations: 0 / 1.114 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7557, allocations: 7.938 kB / 1.114 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.7566, allocations: 0.8876 MB / 1.115 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7566, allocations: 4 kB / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.7569, allocations: 60.03 kB / 1.115 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7569, allocations: 0 / 1.115 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.7569, allocations: 5.625 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7569, allocations: 4 kB / 1.115 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7569, allocations: 0 / 1.115 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004687/0.7574, allocations: 0.5154 MB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005922/0.758, allocations: 0.8981 MB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.7581, allocations: 124.6 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.7582, allocations: 4 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7584, allocations: 11.98 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.7585, allocations: 23.88 kB / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.7585, allocations: 12 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002127/0.7587, allocations: 240.6 kB / 1.116 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009326/0.7597, allocations: 123.4 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001332/0.7598, allocations: 115 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.7602, allocations: 304.8 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7603, allocations: 2.156 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.7604, allocations: 127.5 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.7608, allocations: 47.58 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.7618, allocations: 0.5655 MB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.7623, allocations: 0.8963 MB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.7624, allocations: 0 / 1.119 GB, free: 13.11 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)