Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") [: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.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0008978/0.0008981, allocations: 173.3 kB / 366.3 MB, free: 1.969 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008756/0.0008756, allocations: 92.81 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.127e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4131, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.548, allocations: 138.4 MB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001551/0.5482, allocations: 71.89 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00665/0.5548, allocations: 2.131 MB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5549, allocations: 0 / 1.11 GB, free: 7.902 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004275/0.5553, allocations: 392 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5553, allocations: 8.031 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.5554, allocations: 7.906 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.5555, allocations: 171.1 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5556, allocations: 0 / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.5556, allocations: 8 kB / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.316e-05/0.5557, allocations: 36.58 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5558, allocations: 57.67 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5558, allocations: 0 / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.5559, allocations: 11.83 kB / 1.111 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5559, allocations: 0 / 1.111 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.5563, allocations: 305.4 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.5564, allocations: 58.48 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.5565, allocations: 34.66 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.5565, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.5566, allocations: 83.38 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5566, allocations: 0 / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002355/0.5569, allocations: 105.5 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5569, allocations: 55.41 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.557, allocations: 98.78 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.557, allocations: 33.7 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5571, allocations: 84.31 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.5571, allocations: 23.66 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.5571, allocations: 4 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.5572, allocations: 318.8 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.5573, allocations: 44 kB / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.5574, allocations: 70.56 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.5576, allocations: 47.95 kB / 1.112 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5576, allocations: 3.938 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005293/0.5582, allocations: 199.2 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5582, allocations: 4 kB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5582, allocations: 0 / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.5583, allocations: 44.75 kB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.5584, allocations: 4 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.5595, allocations: 1.329 MB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.5597, allocations: 47.97 kB / 1.113 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.5598, allocations: 8 kB / 1.113 GB, free: 3.902 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: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.5598, allocations: 112.9 kB / 1.114 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5599, allocations: 7.906 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.5599, allocations: 13.12 kB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5599, allocations: 0 / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.5599, allocations: 4 kB / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5599, allocations: 0 / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.5602, allocations: 341 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5602, allocations: 0 / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.5602, allocations: 11.98 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5602, allocations: 0 / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.5603, allocations: 0 / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5603, allocations: 0 / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5603, allocations: 8 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001778/0.5605, allocations: 199.3 kB / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.5605, allocations: 81.09 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.5605, allocations: 3.906 kB / 1.114 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5606, allocations: 8 kB / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5607, allocations: 7.984 kB / 1.114 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.5607, allocations: 5.5 kB / 1.114 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.724e-05/0.5607, allocations: 91.27 kB / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002826/0.561, allocations: 24 kB / 1.114 GB, free: 2.926 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001606/0.5612, allocations: 119.6 kB / 1.114 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.5615, allocations: 225.5 kB / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5615, allocations: 0 / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.5616, allocations: 36 kB / 1.115 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.5618, allocations: 22 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.5621, allocations: 111.7 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.5623, allocations: 0.6997 MB / 1.116 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.5623, allocations: 0 / 1.116 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.00366/0.566, allocations: 1.642 MB / 1.117 GB, free: 44 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)