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.TimerNegativeStartTime.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.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.28/1.28, allocations: 285.5 MB / 292.8 MB, free: 0.7109 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 180.7 kB / 361.1 MB, free: 15.22 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9942/0.9942, allocations: 205.1 MB / 0.6195 GB, free: 5.832 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007761/0.0007761, allocations: 84.58 kB / 0.7325 GB, free: 47.34 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1695/0.1703, allocations: 121.5 MB / 0.8512 GB, free: 12.62 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.5777, allocations: 115.3 MB / 0.9638 GB, free: 85.58 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.7033, allocations: 137.5 MB / 1.098 GB, free: 11.86 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.7035, allocations: 73.36 kB / 1.098 GB, free: 11.79 MB / 0.7059 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.006037/0.7095, allocations: 2.166 MB / 1.1 GB, free: 9.621 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.7096, allocations: 8.75 kB / 1.1 GB, free: 9.613 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.7097, allocations: 11.91 kB / 1.1 GB, free: 9.602 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/0.7098, allocations: 167.1 kB / 1.1 GB, free: 9.398 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.7098, allocations: 5.781 kB / 1.1 GB, free: 9.395 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.7098, allocations: 12 kB / 1.1 GB, free: 9.383 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.291e-05/0.7099, allocations: 31.98 kB / 1.1 GB, free: 9.352 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.71, allocations: 85.58 kB / 1.101 GB, free: 9.262 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7101, allocations: 0 / 1.101 GB, free: 9.262 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.7101, allocations: 7.906 kB / 1.101 GB, free: 9.254 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.7101, allocations: 0 / 1.101 GB, free: 9.254 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.7106, allocations: 341.2 kB / 1.101 GB, free: 8.883 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.7107, allocations: 92.92 kB / 1.101 GB, free: 8.785 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.7108, allocations: 35.45 kB / 1.101 GB, free: 8.75 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.7108, allocations: 4 kB / 1.101 GB, free: 8.746 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.711, allocations: 99.41 kB / 1.101 GB, free: 8.637 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.711, allocations: 0 / 1.101 GB, free: 8.637 MB / 0.7059 GB Notification: Performance of matching and sorting (n=13): time 0.0002223/0.7112, allocations: 124.9 kB / 1.101 GB, free: 8.512 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.7112, allocations: 59.34 kB / 1.101 GB, free: 8.441 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.7113, allocations: 109.4 kB / 1.101 GB, free: 8.332 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.7113, allocations: 33.7 kB / 1.101 GB, free: 8.293 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.7114, allocations: 84.14 kB / 1.101 GB, free: 8.207 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.7114, allocations: 39.55 kB / 1.102 GB, free: 8.168 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.7114, allocations: 0 / 1.102 GB, free: 8.168 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.7115, allocations: 322.8 kB / 1.102 GB, free: 7.844 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.7116, allocations: 40 kB / 1.102 GB, free: 7.805 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7117, allocations: 80.22 kB / 1.102 GB, free: 7.711 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.712, allocations: 55.95 kB / 1.102 GB, free: 7.656 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.712, allocations: 0 / 1.102 GB, free: 7.656 MB / 0.7059 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003795/0.7124, allocations: 169.5 kB / 1.102 GB, free: 7.484 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7124, allocations: 9.094 kB / 1.102 GB, free: 7.477 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7124, allocations: 4.125 kB / 1.102 GB, free: 7.473 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7124, allocations: 4 kB / 1.102 GB, free: 7.469 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.7125, allocations: 15.92 kB / 1.102 GB, free: 7.453 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.7125, allocations: 0 / 1.102 GB, free: 7.453 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7127, allocations: 47.88 kB / 1.102 GB, free: 7.406 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.7128, allocations: 11.98 kB / 1.102 GB, free: 7.395 MB / 0.7059 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 8.135e-05/0.7128, allocations: 116.7 kB / 1.102 GB, free: 7.273 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.7129, allocations: 15.91 kB / 1.102 GB, free: 7.258 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.7129, allocations: 8.438 kB / 1.102 GB, free: 7.25 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7129, allocations: 0 / 1.102 GB, free: 7.25 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7129, allocations: 7.984 kB / 1.102 GB, free: 7.242 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.7129, allocations: 7.891 kB / 1.102 GB, free: 7.234 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.7133, allocations: 359.2 kB / 1.103 GB, free: 6.84 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7133, allocations: 1.219 kB / 1.103 GB, free: 6.84 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.7133, allocations: 4 kB / 1.103 GB, free: 6.836 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7133, allocations: 8 kB / 1.103 GB, free: 6.828 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7133, allocations: 0.8125 kB / 1.103 GB, free: 6.828 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7133, allocations: 3.938 kB / 1.103 GB, free: 6.824 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7134, allocations: 7.844 kB / 1.103 GB, free: 6.816 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001918/0.7135, allocations: 221.9 kB / 1.103 GB, free: 6.586 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000278/0.7138, allocations: 0.5819 MB / 1.104 GB, free: 5.984 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.7139, allocations: 84.95 kB / 1.104 GB, free: 5.883 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.7139, allocations: 10.17 kB / 1.104 GB, free: 5.875 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.714, allocations: 7.984 kB / 1.104 GB, free: 5.867 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.7141, allocations: 11.98 kB / 1.104 GB, free: 5.855 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.7141, allocations: 11.98 kB / 1.104 GB, free: 5.844 MB / 0.7059 GB Notification: Performance of sort global known variables: time 3.271e-05/0.7141, allocations: 83.84 kB / 1.104 GB, free: 5.762 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0008937/0.715, allocations: 43.83 kB / 1.104 GB, free: 5.719 MB / 0.7059 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.0001545/0.7152, allocations: 120 kB / 1.104 GB, free: 5.59 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.7154, allocations: 141.6 kB / 1.104 GB, free: 5.445 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7154, allocations: 0 / 1.104 GB, free: 5.445 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.7155, allocations: 71.91 kB / 1.104 GB, free: 5.375 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.7157, allocations: 15.22 kB / 1.104 GB, free: 5.367 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.716, allocations: 124.9 kB / 1.104 GB, free: 5.219 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.7163, allocations: 0.7036 MB / 1.105 GB, free: 4.488 MB / 0.7059 GB Notification: Performance of SimCode: time 2.31e-07/0.7163, allocations: 1.219 kB / 1.105 GB, free: 4.488 MB / 0.7059 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)