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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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 8.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001006/0.001006, allocations: 185.2 kB / 366.3 MB, free: 2.012 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.0007624/0.0007624, allocations: 103.5 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1909/0.1917, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.6113, allocations: 116.3 MB / 0.9727 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.7431, allocations: 138.4 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.7433, allocations: 67.95 kB / 1.108 GB, free: 11.98 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.00722/0.7506, allocations: 2.51 MB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.7506, allocations: 9.406 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.7507, allocations: 11.91 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7508, allocations: 167.1 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.7508, allocations: 6.25 kB / 1.111 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.7508, allocations: 4.781 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.171e-05/0.7509, allocations: 27.98 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.751, allocations: 68.45 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.7511, allocations: 0.6875 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7511, allocations: 7.891 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.7511, allocations: 0.5625 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.7515, allocations: 309.3 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.7516, allocations: 58.48 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.7517, allocations: 29.05 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-06/0.7517, allocations: 0 / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.7518, allocations: 91.31 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.7518, allocations: 0 / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001979/0.752, allocations: 97.52 kB / 1.111 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.752, allocations: 60.53 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.7521, allocations: 101 kB / 1.111 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7521, allocations: 31.2 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.7522, allocations: 88.33 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.7522, allocations: 23.64 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.7522, allocations: 4 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.7523, allocations: 314.8 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.7524, allocations: 47.98 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.7525, allocations: 65.44 kB / 1.112 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.7527, allocations: 43.97 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7527, allocations: 0 / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005153/0.7532, allocations: 207.2 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7532, allocations: 4.062 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.7533, allocations: 8 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.7534, allocations: 32.75 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.7534, allocations: 11.92 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/0.7543, allocations: 1.331 MB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.7546, allocations: 48.84 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.7546, allocations: 4 kB / 1.114 GB, free: 5.91 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 7.584e-05/0.7547, allocations: 116.9 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.7547, allocations: 7.891 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.7547, allocations: 12.38 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.7547, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.7547, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7547, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.755, allocations: 343.9 kB / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.755, allocations: 4 kB / 1.114 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.755, allocations: 4 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.755, allocations: 0 / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.7551, allocations: 7.984 kB / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7551, allocations: 0 / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7551, allocations: 6.469 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001619/0.7552, allocations: 196.9 kB / 1.114 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002302/0.7555, allocations: 0.5584 MB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.7555, allocations: 93 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.7556, allocations: 0 / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.7557, allocations: 4 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.7557, allocations: 7.984 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.7557, allocations: 4 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.501e-05/0.7558, allocations: 92.67 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008207/0.7566, allocations: 28 kB / 1.115 GB, free: 4.348 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.0001323/0.7567, allocations: 119.2 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.757, allocations: 220.1 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.757, allocations: 0 / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.7571, allocations: 47.92 kB / 1.115 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.7573, allocations: 19.5 kB / 1.115 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.7575, allocations: 107.7 kB / 1.115 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.7577, allocations: 0.7037 MB / 1.116 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7578, allocations: 0 / 1.116 GB, free: 3.066 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)