Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",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/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 190.5 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4617/0.4617, allocations: 90.86 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.4 MB / 342.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 88.91 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.1811, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.5969, allocations: 72.3 MB / 0.553 GB, free: 73.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.7185, allocations: 101.4 MB / 0.652 GB, free: 8.758 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.7188, allocations: 69.47 kB / 0.652 GB, free: 8.691 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003595/0.7224, allocations: 1.163 MB / 0.6532 GB, free: 7.512 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7224, allocations: 12 kB / 0.6532 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.7225, allocations: 6.031 kB / 0.6532 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.7227, allocations: 175.6 kB / 0.6533 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.7227, allocations: 3.938 kB / 0.6533 GB, free: 7.281 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.7227, allocations: 4.812 kB / 0.6533 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.866e-05/0.7228, allocations: 27.84 kB / 0.6534 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.7229, allocations: 50.78 kB / 0.6534 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7229, allocations: 0 / 0.6534 GB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.7229, allocations: 4.672 kB / 0.6534 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7229, allocations: 0 / 0.6534 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.7234, allocations: 275.3 kB / 0.6537 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7235, allocations: 51.06 kB / 0.6537 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.7235, allocations: 21.77 kB / 0.6538 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.7236, allocations: 0.9062 kB / 0.6538 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/0.7237, allocations: 60.16 kB / 0.6538 GB, free: 6.738 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.7237, allocations: 0.5625 kB / 0.6538 GB, free: 6.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002036/0.7239, allocations: 74.12 kB / 0.6539 GB, free: 6.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.7239, allocations: 56.17 kB / 0.6539 GB, free: 6.594 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.724, allocations: 100.9 kB / 0.654 GB, free: 6.488 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.7241, allocations: 26.73 kB / 0.6541 GB, free: 6.457 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.7241, allocations: 84.14 kB / 0.6541 GB, free: 6.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.7241, allocations: 24.45 kB / 0.6542 GB, free: 6.348 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.7241, allocations: 0 / 0.6542 GB, free: 6.348 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7243, allocations: 316.7 kB / 0.6545 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.7243, allocations: 16 kB / 0.6545 GB, free: 6.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.7244, allocations: 44.02 kB / 0.6545 GB, free: 5.961 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.7244, allocations: 22.69 kB / 0.6545 GB, free: 5.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7244, allocations: 0 / 0.6545 GB, free: 5.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001322/0.7246, allocations: 86.16 kB / 0.6546 GB, free: 5.855 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7246, allocations: 8.594 kB / 0.6546 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7246, allocations: 0 / 0.6546 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.7246, allocations: 0.6875 kB / 0.6546 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.7247, allocations: 15.98 kB / 0.6547 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7247, allocations: 8.469 kB / 0.6547 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.7248, allocations: 13.38 kB / 0.6547 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.7248, allocations: 4 kB / 0.6547 GB, free: 5.809 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.101e-05/0.7249, allocations: 112.2 kB / 0.6548 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.7249, allocations: 7.984 kB / 0.6548 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.725, allocations: 11.97 kB / 0.6548 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.725, allocations: 0 / 0.6548 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.725, allocations: 0 / 0.6548 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.725, allocations: 0 / 0.6548 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.7254, allocations: 323.8 kB / 0.6551 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7254, allocations: 3.984 kB / 0.6551 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.7254, allocations: 4 kB / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7255, allocations: 0 / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7255, allocations: 0.5312 kB / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.7255, allocations: 9.312 kB / 0.6551 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7255, allocations: 0 / 0.6551 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001529/0.7256, allocations: 166.8 kB / 0.6553 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002841/0.7259, allocations: 0.5369 MB / 0.6558 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.726, allocations: 81.02 kB / 0.6559 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.726, allocations: 6.312 kB / 0.6559 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.7261, allocations: 9.516 kB / 0.6559 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.7262, allocations: 11.98 kB / 0.6559 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.7262, allocations: 0.625 kB / 0.6559 GB, free: 4.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.734e-05/0.7262, allocations: 79.78 kB / 0.656 GB, free: 4.371 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007624/0.727, allocations: 12 kB / 0.656 GB, free: 4.359 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001236/0.7271, allocations: 115.4 kB / 0.6561 GB, free: 4.242 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.7273, allocations: 39.94 kB / 0.6562 GB, free: 4.203 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7273, allocations: 0 / 0.6562 GB, free: 4.203 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.7273, allocations: 24 kB / 0.6562 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.7276, allocations: 17.67 kB / 0.6562 GB, free: 4.164 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.7279, allocations: 115.6 kB / 0.6563 GB, free: 4.027 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.7283, allocations: 0.6958 MB / 0.657 GB, free: 3.305 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7283, allocations: 0 / 0.657 GB, free: 3.305 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)