Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") [: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.1.4-maint.8.1.x/package.mo): time 1.36/1.36, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009534/0.0009534, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.000778/0.000778, allocations: 84.8 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.03e-05, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4229, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.5561, allocations: 137.7 MB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.5564, allocations: 68.47 kB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001211/0.5576, allocations: 304.2 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5576, allocations: 1.125 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00028/0.5579, allocations: 339.3 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.5579, allocations: 12.03 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.558, allocations: 3.906 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5581, allocations: 167.1 kB / 1.108 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.5581, allocations: 3.984 kB / 1.108 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.5581, allocations: 0 / 1.108 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.648e-05/0.5582, allocations: 15.94 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.5582, allocations: 37.61 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.5582, allocations: 0.5 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5582, allocations: 0 / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5583, allocations: 0 / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.5586, allocations: 250.5 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.5586, allocations: 26.48 kB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.5587, allocations: 12.92 kB / 1.108 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.5587, allocations: 3.938 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.5587, allocations: 31.5 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5587, allocations: 0 / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001186/0.5588, allocations: 41.7 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5589, allocations: 55.39 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.5589, allocations: 97.03 kB / 1.108 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.559, allocations: 25.7 kB / 1.108 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.559, allocations: 84.64 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.559, allocations: 7.906 kB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.559, allocations: 0 / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.5591, allocations: 318.8 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.5591, allocations: 4 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.5591, allocations: 4 kB / 1.109 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.466e-05/0.5592, allocations: 4.844 kB / 1.109 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5592, allocations: 7.969 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.342e-05/0.5592, allocations: 41.64 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.5593, allocations: 11.94 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5593, allocations: 0 / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.5593, allocations: 0.5625 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.5594, allocations: 11.98 kB / 1.109 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.5594, allocations: 0 / 1.109 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.5594, allocations: 16.02 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.5595, allocations: 1.938 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.606e-05/0.5595, allocations: 104.9 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.5595, allocations: 4 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.5596, allocations: 3.312 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5596, allocations: 0 / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5596, allocations: 4 kB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5596, allocations: 7.906 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.5597, allocations: 138.2 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5597, allocations: 4 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.5598, allocations: 8 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.5598, allocations: 0 / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.5598, allocations: 0 / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5598, allocations: 2.891 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5598, allocations: 0 / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.871e-05/0.5599, allocations: 151.4 kB / 1.109 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.56, allocations: 77.11 kB / 1.109 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.56, allocations: 3.906 kB / 1.109 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.5601, allocations: 11.98 kB / 1.109 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.5601, allocations: 4.688 kB / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.5601, allocations: 4 kB / 1.109 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.687e-05/0.5601, allocations: 79.27 kB / 1.11 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001866/0.5603, allocations: 4 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001083/0.5604, allocations: 99.25 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.805e-05/0.5605, allocations: 12 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5605, allocations: 4 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.5605, allocations: 12.56 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.5607, allocations: 4 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.5609, allocations: 56.77 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.5611, allocations: 0.6918 MB / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5611, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.00172/0.5628, allocations: 407.1 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)