Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [: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.318/1.318, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0008858/0.0008861, allocations: 173.3 kB / 366.3 MB, free: 1.988 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.036/1.036, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0007711/0.0007711, allocations: 93.48 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.723e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4328, allocations: 116.3 MB / 0.9726 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5677, allocations: 138.3 MB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.5679, allocations: 79.88 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004571/0.5725, allocations: 1.468 MB / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5725, allocations: 0 / 1.109 GB, free: 8.711 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002662/0.5728, allocations: 360.7 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5728, allocations: 8.031 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.5729, allocations: 12.77 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.573, allocations: 163.1 kB / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.573, allocations: 0 / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.573, allocations: 7.938 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.404e-05/0.573, allocations: 4.656 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.508e-05/0.5731, allocations: 41.59 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.5731, allocations: 0 / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5731, allocations: 0.5625 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.5731, allocations: 4 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.5734, allocations: 261.5 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.608e-05/0.5735, allocations: 30.42 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.5735, allocations: 5.422 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-06/0.5735, allocations: 0 / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.5736, allocations: 57.94 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.5736, allocations: 0 / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001206/0.5737, allocations: 49.69 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5737, allocations: 51.41 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.5738, allocations: 102.4 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5738, allocations: 29.7 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5739, allocations: 92.12 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.5739, allocations: 3.906 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.5739, allocations: 0 / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.574, allocations: 318.8 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.5741, allocations: 27.94 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.5741, allocations: 43.12 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.5743, allocations: 31.97 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5743, allocations: 9.391 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/0.5746, allocations: 109.6 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.5746, allocations: 8 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5746, allocations: 5.391 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5746, allocations: 0 / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.5746, allocations: 4.562 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.5746, allocations: 0 / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.5748, allocations: 40.06 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.5748, allocations: 8 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.741e-05/0.5749, allocations: 109 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.5749, allocations: 7.891 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.575, allocations: 4 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.575, allocations: 0.5 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.575, allocations: 4 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.575, allocations: 96 / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.5751, allocations: 142.9 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5751, allocations: 0.6875 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.5751, allocations: 7.844 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5751, allocations: 0 / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5751, allocations: 7.984 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5751, allocations: 4.562 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5751, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.549e-05/0.5752, allocations: 73.78 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.5752, allocations: 77.11 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5752, allocations: 4.312 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.5753, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.5753, allocations: 3.984 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.5753, allocations: 11.94 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.337e-05/0.5753, allocations: 87.19 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001865/0.5755, allocations: 20 kB / 1.111 GB, free: 6.008 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001105/0.5757, allocations: 107.7 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.5758, allocations: 77.62 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5758, allocations: 4 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.5758, allocations: 4 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.576, allocations: 13.12 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.5761, allocations: 63.86 kB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5764, allocations: 0.6915 MB / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5764, allocations: 0 / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.002477/0.5788, allocations: 0.9191 MB / 1.113 GB, free: 4.102 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)