Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_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 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 0.6211 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 177.3 kB / 316 MB, free: 8.867 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 0.5667 GB, free: 13.41 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008621, allocations: 83.3 kB / 0.671 GB, free: 51.54 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1993/0.2002, allocations: 112.5 MB / 0.7808 GB, free: 9.801 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.6973, allocations: 106.3 MB / 0.8847 GB, free: 89.03 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.8567, allocations: 131.3 MB / 1.013 GB, free: 14.27 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.8569, allocations: 67.97 kB / 1.013 GB, free: 14.2 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.006866/0.8638, allocations: 2.248 MB / 1.015 GB, free: 11.98 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8639, allocations: 8 kB / 1.015 GB, free: 11.98 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.8639, allocations: 15.81 kB / 1.015 GB, free: 11.96 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8641, allocations: 198.7 kB / 1.015 GB, free: 11.73 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8641, allocations: 1.219 kB / 1.015 GB, free: 11.73 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.8642, allocations: 8 kB / 1.015 GB, free: 11.72 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001887/0.8644, allocations: 61.2 kB / 1.015 GB, free: 11.66 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.8646, allocations: 111.3 kB / 1.016 GB, free: 11.54 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8646, allocations: 4 kB / 1.016 GB, free: 11.54 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.8646, allocations: 3.172 kB / 1.016 GB, free: 11.54 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8646, allocations: 0 / 1.016 GB, free: 11.54 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.8656, allocations: 481 kB / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.8659, allocations: 117.2 kB / 1.016 GB, free: 10.89 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.866, allocations: 45.84 kB / 1.016 GB, free: 10.84 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.866, allocations: 12.03 kB / 1.016 GB, free: 10.83 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.8662, allocations: 101.1 kB / 1.016 GB, free: 10.71 MB / 0.659 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.8662, allocations: 0 / 1.016 GB, free: 10.71 MB / 0.659 GB Notification: Performance of matching and sorting (n=12): time 0.000304/0.8665, allocations: 115.9 kB / 1.016 GB, free: 10.59 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.8665, allocations: 77.11 kB / 1.016 GB, free: 10.5 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.8667, allocations: 148.1 kB / 1.017 GB, free: 10.34 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.8667, allocations: 25.7 kB / 1.017 GB, free: 10.31 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.8668, allocations: 104.2 kB / 1.017 GB, free: 10.21 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.8668, allocations: 39.45 kB / 1.017 GB, free: 10.17 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.8668, allocations: 0 / 1.017 GB, free: 10.17 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.867, allocations: 322.8 kB / 1.017 GB, free: 9.844 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.8671, allocations: 36 kB / 1.017 GB, free: 9.809 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.8672, allocations: 53.22 kB / 1.017 GB, free: 9.754 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.8673, allocations: 35.98 kB / 1.017 GB, free: 9.719 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8673, allocations: 0 / 1.017 GB, free: 9.719 MB / 0.659 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002546/0.8675, allocations: 138.7 kB / 1.017 GB, free: 9.578 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8675, allocations: 4 kB / 1.017 GB, free: 9.574 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8676, allocations: 4 kB / 1.017 GB, free: 9.57 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8676, allocations: 0 / 1.017 GB, free: 9.57 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.8678, allocations: 47.88 kB / 1.017 GB, free: 9.523 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8679, allocations: 3.938 kB / 1.017 GB, free: 9.52 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.8681, allocations: 25.39 kB / 1.017 GB, free: 9.496 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.8681, allocations: 8 kB / 1.017 GB, free: 9.488 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.451e-05/0.8682, allocations: 115 kB / 1.018 GB, free: 9.371 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.8682, allocations: 11.91 kB / 1.018 GB, free: 9.359 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.8685, allocations: 140.9 kB / 1.018 GB, free: 9.219 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.8685, allocations: 4 kB / 1.018 GB, free: 9.215 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.8685, allocations: 2.062 kB / 1.018 GB, free: 9.215 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8686, allocations: 4 kB / 1.018 GB, free: 9.211 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.8687, allocations: 202 kB / 1.018 GB, free: 8.977 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8687, allocations: 0 / 1.018 GB, free: 8.977 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.869, allocations: 35.97 kB / 1.018 GB, free: 8.941 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.869, allocations: 112 / 1.018 GB, free: 8.941 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.869, allocations: 11.94 kB / 1.018 GB, free: 8.93 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.869, allocations: 0 / 1.018 GB, free: 8.93 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.869, allocations: 2.344 kB / 1.018 GB, free: 8.93 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002256/0.8692, allocations: 162.9 kB / 1.018 GB, free: 8.746 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003028/0.8695, allocations: 0.5319 MB / 1.019 GB, free: 8.184 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.8696, allocations: 90.27 kB / 1.019 GB, free: 8.078 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.8697, allocations: 4 kB / 1.019 GB, free: 8.074 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.8699, allocations: 23.98 kB / 1.019 GB, free: 8.051 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.8699, allocations: 23.86 kB / 1.019 GB, free: 8.027 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.8699, allocations: 4 kB / 1.019 GB, free: 8.023 MB / 0.659 GB Notification: Performance of sort global known variables: time 7.39e-05/0.87, allocations: 123.9 kB / 1.019 GB, free: 7.902 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0007744/0.8708, allocations: 31.94 kB / 1.019 GB, free: 7.871 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.8709, allocations: 110 kB / 1.019 GB, free: 7.758 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.8712, allocations: 93.03 kB / 1.019 GB, free: 7.668 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8712, allocations: 0 / 1.019 GB, free: 7.668 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.8713, allocations: 48 kB / 1.019 GB, free: 7.621 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.8716, allocations: 39.34 kB / 1.019 GB, free: 7.586 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.872, allocations: 183 kB / 1.019 GB, free: 7.387 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.8724, allocations: 0.7352 MB / 1.02 GB, free: 6.625 MB / 0.659 GB Notification: Performance of SimCode: time 4.11e-07/0.8724, allocations: 0 / 1.02 GB, free: 6.625 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)