Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.0/package.mo): time 2.177/2.177, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001623/0.001623, allocations: 177.3 kB / 360.3 MB, free: 7.531 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.627/1.627, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001213/0.001212, allocations: 86 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2455/0.2468, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.7839, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.9869, allocations: 137.3 MB / 1.097 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.9872, allocations: 72.56 kB / 1.097 GB, free: 3.418 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01046/0.9977, allocations: 2.165 MB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9978, allocations: 12 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.9979, allocations: 11.89 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.998, allocations: 167.1 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.998, allocations: 4 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.9981, allocations: 12.69 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001517/0.9983, allocations: 32 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.9985, allocations: 84.58 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9985, allocations: 0 / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.9985, allocations: 3.906 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.9986, allocations: 0.7969 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.9994, allocations: 357.2 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.9996, allocations: 79.58 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.9997, allocations: 39.45 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9998, allocations: 0 / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/1, allocations: 99.41 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/1, allocations: 0 / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0003922/1, allocations: 124.1 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.001, allocations: 59.41 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.001, allocations: 108.8 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.001, allocations: 29.7 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/1.001, allocations: 92.12 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/1.001, allocations: 31.7 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.001, allocations: 4 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.001, allocations: 318.8 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.001, allocations: 44 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/1.001, allocations: 86.34 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/1.002, allocations: 55.89 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.002, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006623/1.003, allocations: 170 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.003, allocations: 5.25 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.003, allocations: 4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.003, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/1.003, allocations: 15.92 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.003, allocations: 4 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/1.003, allocations: 54.94 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/1.003, allocations: 7.984 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001396/1.003, allocations: 117.7 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/1.003, allocations: 11.84 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/1.003, allocations: 16.42 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.004, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.004, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/1.004, allocations: 3.906 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/1.004, allocations: 366 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.004, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/1.004, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.004, allocations: 1.125 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.004, allocations: 7.984 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.004, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.004, allocations: 10.44 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003257/1.005, allocations: 215.4 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004726/1.005, allocations: 0.5819 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.005, allocations: 92.94 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/1.005, allocations: 4 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.005, allocations: 11.98 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.006, allocations: 7.984 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/1.006, allocations: 16.64 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.04e-05/1.006, allocations: 87.27 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001232/1.007, allocations: 43.89 kB / 1.103 GB, free: 13.36 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002496/1.007, allocations: 111.2 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004509/1.008, allocations: 145.6 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.008, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/1.008, allocations: 67.94 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/1.008, allocations: 12.91 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/1.009, allocations: 123.3 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.009, allocations: 0.7114 MB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.009, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)