Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 181.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008684, allocations: 86.14 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3404/0.3413, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.5071, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.9591, allocations: 132.6 MB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.9593, allocations: 76.73 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.006693/0.966, allocations: 2.863 MB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.9661, allocations: 8 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.9661, allocations: 19.81 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.9663, allocations: 213.1 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.9664, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.9664, allocations: 11.91 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.9665, allocations: 38.06 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.9667, allocations: 122.9 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.9667, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.9667, allocations: 8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9667, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.9676, allocations: 0.6965 MB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.848e-05/0.9676, allocations: 44.69 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.9677, allocations: 20.17 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.9677, allocations: 4.141 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.9678, allocations: 103.2 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.9679, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002023/0.9681, allocations: 95.64 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.9681, allocations: 136.5 kB / 1.019 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.9683, allocations: 143.7 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.9683, allocations: 25.7 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.9683, allocations: 111.3 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.9684, allocations: 31.48 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.9684, allocations: 0 / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.9685, allocations: 322.6 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.9686, allocations: 29.91 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.9686, allocations: 98.91 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.9687, allocations: 38.3 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9687, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001966/0.9689, allocations: 138.9 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9689, allocations: 6.5 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9689, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.969, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.9691, allocations: 40.14 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9691, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.9693, allocations: 27.88 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.9693, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.971e-05/0.9693, allocations: 120.8 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.9694, allocations: 15.06 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.9694, allocations: 13.03 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.9694, allocations: 7.984 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9694, allocations: 0 / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9694, allocations: 4 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.97, allocations: 462.3 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.97, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.9701, allocations: 20.11 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9701, allocations: 8 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.9702, allocations: 4 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.9702, allocations: 7.844 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9702, allocations: 3.938 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002613/0.9704, allocations: 340.9 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003824/0.9708, allocations: 0.7369 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.9709, allocations: 93.25 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.9709, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.9711, allocations: 19.98 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.9712, allocations: 15.88 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9712, allocations: 7.25 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.671e-05/0.9713, allocations: 118 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009256/0.9722, allocations: 27.94 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001545/0.9724, allocations: 118 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.9725, allocations: 73.22 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9725, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.9726, allocations: 38.62 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.9729, allocations: 40.86 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.9735, allocations: 244.1 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.9738, allocations: 0.7391 MB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9738, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)