Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.411/1.411, allocations: 289.8 MB / 297 MB, free: 6.66 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.977 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.162/1.162, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008184/0.0008182, allocations: 98.77 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.2123, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.6905, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.8372, allocations: 138.9 MB / 1.108 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.8374, allocations: 71.97 kB / 1.108 GB, free: 9.523 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00404/0.8415, allocations: 1.412 MB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8415, allocations: 12 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.8416, allocations: 4 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.8417, allocations: 172.7 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.8417, allocations: 0 / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.8417, allocations: 4 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.213e-05/0.8418, allocations: 27.98 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.408e-05/0.8419, allocations: 51.88 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.8419, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.8419, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8419, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.8423, allocations: 281.2 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.8424, allocations: 42.58 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.8424, allocations: 21.08 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.8425, allocations: 4 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.191e-05/0.8425, allocations: 64.36 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.8425, allocations: 4 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001434/0.8427, allocations: 73.53 kB / 1.111 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.8427, allocations: 56.25 kB / 1.111 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.8428, allocations: 97 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.8428, allocations: 29.69 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.8429, allocations: 84.05 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.8429, allocations: 23.73 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.8429, allocations: 0 / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.843, allocations: 326.8 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.843, allocations: 15.94 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.8431, allocations: 39.44 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.8431, allocations: 23.61 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8431, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001171/0.8433, allocations: 77.62 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.8433, allocations: 12.03 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.8433, allocations: 3.984 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.8433, allocations: 3.906 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.8434, allocations: 12.22 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8434, allocations: 4 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.8435, allocations: 7.984 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.8435, allocations: 4 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB 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 6.031e-05/0.8435, allocations: 117 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.8436, allocations: 7.906 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.8436, allocations: 4.719 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8436, allocations: 0 / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8436, allocations: 0 / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8436, allocations: 3.938 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.8439, allocations: 327.9 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.844, allocations: 0 / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.844, allocations: 11.97 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.844, allocations: 0 / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.844, allocations: 4 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.844, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.844, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001226/0.8442, allocations: 172.8 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001856/0.8443, allocations: 0.5316 MB / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.8444, allocations: 85.09 kB / 1.113 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.8444, allocations: 7.906 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.8445, allocations: 8 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.8445, allocations: 8.641 kB / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8446, allocations: 0 / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.022e-05/0.8446, allocations: 87.27 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008125/0.8454, allocations: 15.94 kB / 1.113 GB, free: 4.891 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: 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 8.549e-05/0.8455, allocations: 96.89 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.8456, allocations: 49.16 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8456, allocations: 0 / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.8457, allocations: 28 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.8459, allocations: 8.5 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.8461, allocations: 89.27 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.8464, allocations: 0.7064 MB / 1.114 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8464, allocations: 0 / 1.114 GB, free: 3.867 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)