Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009901/0.0009901, allocations: 165.3 kB / 366.3 MB, free: 2.016 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.043/1.043, allocations: 205.1 MB / 0.6256 GB, free: 7.496 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.0007788/0.0007788, allocations: 100.9 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1992/0.2, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.6706, allocations: 116.3 MB / 0.9727 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.8165, allocations: 138.5 MB / 1.108 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.8168, allocations: 68.45 kB / 1.108 GB, free: 11.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.006539/0.8234, allocations: 2.169 MB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8234, allocations: 12 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.8235, allocations: 11.91 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.8236, allocations: 163.1 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.8236, allocations: 4 kB / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.8237, allocations: 11.98 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.546e-05/0.8238, allocations: 39.92 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8239, allocations: 73.66 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.8239, allocations: 4 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.8239, allocations: 3.906 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8239, allocations: 0 / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.8245, allocations: 349.3 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.8246, allocations: 82.52 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.8247, allocations: 39.45 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.8247, allocations: 0 / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.8249, allocations: 113.1 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.8249, allocations: 0 / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002467/0.8251, allocations: 109.6 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.8252, allocations: 63.33 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.8252, allocations: 108.8 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.8253, allocations: 33.69 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.8253, allocations: 89.73 kB / 1.111 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.8254, allocations: 27.56 kB / 1.111 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.8254, allocations: 7.984 kB / 1.111 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.8255, allocations: 318.8 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.8256, allocations: 43.98 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.8257, allocations: 76.3 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.8259, allocations: 62.81 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8259, allocations: 0 / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004149/0.8263, allocations: 177.4 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.8264, allocations: 4 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8264, allocations: 2.062 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8264, allocations: 4 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.8265, allocations: 8.125 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.8265, allocations: 4 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.8267, allocations: 55.86 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.8267, allocations: 8 kB / 1.112 GB, free: 7.539 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 8.237e-05/0.8268, allocations: 112.9 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.8269, allocations: 16.91 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.8269, allocations: 8.438 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8269, allocations: 8 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8269, allocations: 0 / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8269, allocations: 3.906 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.8272, allocations: 363 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8272, allocations: 0 / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.8273, allocations: 4 kB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8273, allocations: 0 / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.8273, allocations: 7.984 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8273, allocations: 1.5 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8273, allocations: 11.48 kB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/0.8275, allocations: 215.4 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002733/0.8278, allocations: 0.5883 MB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.8279, allocations: 88.95 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.8279, allocations: 0 / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.828, allocations: 15.98 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.828, allocations: 15.97 kB / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.8281, allocations: 4 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.286e-05/0.8281, allocations: 83.28 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008075/0.8289, allocations: 45.02 kB / 1.114 GB, free: 5.871 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.0001636/0.8291, allocations: 115.2 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.8293, allocations: 145.6 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8294, allocations: 4 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.8295, allocations: 63.94 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.8297, allocations: 12.5 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.83, allocations: 121 kB / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.8302, allocations: 0.7155 MB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8302, allocations: 0.9375 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)