Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.0.1-maint.8.0.x/package.mo): time 1.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009231/0.0009231, allocations: 185.2 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9958/0.9958, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.00077/0.0007699, allocations: 89.75 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1766, allocations: 121.5 MB / 0.8512 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.5831, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.7133, allocations: 137.8 MB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.7135, allocations: 68.89 kB / 1.098 GB, free: 2.148 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01145/0.725, allocations: 4.234 MB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.725, allocations: 12 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.7251, allocations: 33.92 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.7252, allocations: 174.9 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.7252, allocations: 15.97 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.7253, allocations: 35.92 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002073/0.7255, allocations: 108.5 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.7258, allocations: 227.7 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.7259, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.7259, allocations: 15.97 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7259, allocations: 4.516 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.7266, allocations: 0.5362 MB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.727, allocations: 379.8 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.7272, allocations: 191.7 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.7273, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003687/0.7276, allocations: 278.7 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.7277, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0005614/0.7282, allocations: 369.9 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.7283, allocations: 59.41 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.7283, allocations: 131.9 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.7284, allocations: 45.7 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.7285, allocations: 97.03 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.7285, allocations: 94.84 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.7286, allocations: 8 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.7287, allocations: 338.7 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.7289, allocations: 129.3 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.7292, allocations: 271.4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.7296, allocations: 161.1 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7297, allocations: 2.25 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008717/0.7305, allocations: 473.2 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7306, allocations: 4.062 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.7306, allocations: 8 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7306, allocations: 8 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.7307, allocations: 43.86 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.7308, allocations: 13.95 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.7312, allocations: 112.7 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.7313, allocations: 28 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001271/0.7314, allocations: 156.1 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.7314, allocations: 27.72 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.7315, allocations: 25.73 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7315, allocations: 4 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7315, allocations: 0 / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7315, allocations: 0.7969 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.7326, allocations: 0.8475 MB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7327, allocations: 7.906 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.7327, allocations: 21.61 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7327, allocations: 4 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.7328, allocations: 11.97 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.7328, allocations: 4 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7328, allocations: 0 / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005267/0.7333, allocations: 0.5038 MB / 1.108 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005894/0.7339, allocations: 0.8789 MB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.734, allocations: 98.7 kB / 1.109 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.734, allocations: 15.98 kB / 1.109 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.7343, allocations: 39.95 kB / 1.109 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.7344, allocations: 39.92 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.7344, allocations: 35.97 kB / 1.109 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.599e-05/0.7345, allocations: 99.2 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000933/0.7354, allocations: 95.89 kB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001905/0.7356, allocations: 154.7 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005711/0.7362, allocations: 440.5 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7362, allocations: 0 / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.7365, allocations: 283.8 kB / 1.11 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.7367, allocations: 27.66 kB / 1.11 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.7373, allocations: 363.7 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.7376, allocations: 0.7656 MB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7377, allocations: 0 / 1.112 GB, free: 4.246 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)