Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") [: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.36/1.36, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001023/0.001023, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.103/1.103, allocations: 205.2 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.0008125/0.0008125, allocations: 85.03 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.13e-05, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4578, allocations: 116.3 MB / 0.9726 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.6049, allocations: 138.8 MB / 1.108 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6052, allocations: 76.42 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009198/0.6145, allocations: 2.964 MB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.6145, allocations: 4 kB / 1.111 GB, free: 6.727 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005139/0.615, allocations: 427.8 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6151, allocations: 16.03 kB / 1.112 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.6151, allocations: 11.91 kB / 1.112 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6153, allocations: 171.6 kB / 1.112 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6153, allocations: 4 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.6153, allocations: 8 kB / 1.112 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.778e-05/0.6154, allocations: 41.17 kB / 1.112 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.6155, allocations: 69.59 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6156, allocations: 0 / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.6156, allocations: 3.984 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6156, allocations: 0 / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.6164, allocations: 397 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.6164, allocations: 26.56 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.6165, allocations: 16.98 kB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.6165, allocations: 4 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.6166, allocations: 79.23 kB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.6166, allocations: 0.75 kB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001968/0.6168, allocations: 85.59 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.6169, allocations: 53.09 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.617, allocations: 123.1 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.617, allocations: 33.69 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.6171, allocations: 105.3 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.6171, allocations: 27.64 kB / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.6171, allocations: 0 / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.6172, allocations: 322.8 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.6173, allocations: 39.91 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.6175, allocations: 110.3 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.6178, allocations: 79.86 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6178, allocations: 0 / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005062/0.6183, allocations: 193.3 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6183, allocations: 8 kB / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6183, allocations: 0 / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6183, allocations: 4 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6185, allocations: 32.27 kB / 1.113 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.6185, allocations: 4 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.6188, allocations: 59.8 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.6188, allocations: 17.2 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 8.042e-05/0.6189, allocations: 116.9 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.6189, allocations: 11.81 kB / 1.114 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.6189, allocations: 8.5 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.619, allocations: 4 kB / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.619, allocations: 0 / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.619, allocations: 0 / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.6194, allocations: 351.9 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6194, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.6195, allocations: 27.98 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6195, allocations: 0 / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6195, allocations: 8.031 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6195, allocations: 0 / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6196, allocations: 3.984 kB / 1.114 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000216/0.6198, allocations: 208.1 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.6198, allocations: 88.95 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.6199, allocations: 7.906 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.62, allocations: 11.98 kB / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.62, allocations: 8.641 kB / 1.114 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.62, allocations: 11.94 kB / 1.114 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.151e-05/0.6201, allocations: 98.53 kB / 1.114 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002783/0.6204, allocations: 36 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001765/0.6206, allocations: 123.2 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.6208, allocations: 119.4 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6208, allocations: 0 / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.6209, allocations: 28 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.6211, allocations: 20.58 kB / 1.115 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.6215, allocations: 176.9 kB / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.6218, allocations: 0.7231 MB / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6218, allocations: 0 / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of Templates: time 0.003926/0.6257, allocations: 1.564 MB / 1.117 GB, free: 144 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)