Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.145/2.145, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 173.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.00123, allocations: 91.5 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.295e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5362, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.7515, allocations: 137.3 MB / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.7518, allocations: 68.66 kB / 1.097 GB, free: 3.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01172/0.7635, allocations: 2.134 MB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7636, allocations: 0.6875 kB / 1.099 GB, free: 1.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006298/0.7642, allocations: 396.5 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7643, allocations: 8.531 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.7643, allocations: 7.906 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.7645, allocations: 168.1 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.7645, allocations: 7.984 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.7646, allocations: 4 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/0.7647, allocations: 28 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.7649, allocations: 62.17 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7649, allocations: 0 / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7649, allocations: 11.84 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.765, allocations: 0 / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.7656, allocations: 294 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.7658, allocations: 66.41 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.7659, allocations: 29.7 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.7659, allocations: 4 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.7661, allocations: 83.38 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.7661, allocations: 4.594 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003319/0.7664, allocations: 101.5 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.7665, allocations: 55.41 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.7666, allocations: 101 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.7667, allocations: 33.7 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.7667, allocations: 80.33 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.7668, allocations: 31.64 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.7668, allocations: 4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7669, allocations: 318.8 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.7671, allocations: 40 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.7673, allocations: 70.5 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.7677, allocations: 51.95 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7677, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000919/0.7686, allocations: 202.3 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7687, allocations: 4 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7687, allocations: 5.875 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.7688, allocations: 33.92 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.7689, allocations: 8 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.7703, allocations: 1.327 MB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.7708, allocations: 52.02 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.7708, allocations: 7.984 kB / 1.103 GB, free: 13.43 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 0.0001179/0.771, allocations: 116.8 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.771, allocations: 5.156 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.771, allocations: 14.25 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.771, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.7711, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.7711, allocations: 4.688 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.7715, allocations: 334.9 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7715, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.7716, allocations: 12 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7716, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.7716, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7716, allocations: 1.25 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7716, allocations: 3.984 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002806/0.7719, allocations: 201.3 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.772, allocations: 77.11 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.772, allocations: 7.906 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.7722, allocations: 11.98 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7723, allocations: 4.797 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.7723, allocations: 7.984 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.597e-05/0.7724, allocations: 87.22 kB / 1.103 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004238/0.7728, allocations: 32 kB / 1.103 GB, free: 12.44 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.0001912/0.773, allocations: 117.3 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.7735, allocations: 232.3 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7735, allocations: 0 / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.7737, allocations: 36 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.774, allocations: 19.25 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.7743, allocations: 111.7 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7746, allocations: 0.7037 MB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7747, allocations: 4 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.005701/0.7804, allocations: 1.631 MB / 1.106 GB, free: 9.602 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)