Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.141/2.141, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001539/0.001539, allocations: 181.2 kB / 360.3 MB, free: 7.547 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.665/1.665, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001229/0.001229, allocations: 83.45 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2573/0.2586, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.8428, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/1.058, allocations: 137.1 MB / 1.097 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.058, allocations: 69.94 kB / 1.097 GB, free: 3.672 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.008789/1.067, allocations: 1.824 MB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.067, allocations: 9.281 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/1.067, allocations: 7.906 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.067, allocations: 166.3 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/1.067, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/1.067, allocations: 5.375 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.95e-05/1.067, allocations: 4.5 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.158e-05/1.067, allocations: 42.16 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.067, allocations: 0.6562 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.067, allocations: 0 / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.067, allocations: 0.5625 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/1.068, allocations: 266.6 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/1.068, allocations: 30.3 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/1.068, allocations: 5.359 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/1.068, allocations: 0.5938 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.238e-05/1.068, allocations: 57.34 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 4.108e-06/1.068, allocations: 3.375 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001888/1.068, allocations: 54.23 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/1.068, allocations: 55.34 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/1.068, allocations: 100.9 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/1.068, allocations: 29.7 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/1.068, allocations: 88.14 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.069, allocations: 7.906 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/1.069, allocations: 0 / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.069, allocations: 314.8 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.069, allocations: 27.98 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.069, allocations: 38.58 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/1.069, allocations: 40.61 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.069, allocations: 4 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004754/1.07, allocations: 105.6 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.07, allocations: 9.406 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/1.07, allocations: 3.906 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.07, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/1.07, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.07, allocations: 6.344 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.07, allocations: 40.06 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/1.07, allocations: 12.59 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001069/1.07, allocations: 112.7 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/1.07, allocations: 7.906 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/1.071, allocations: 5.812 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.071, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.071, allocations: 4 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.071, allocations: 0.7031 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/1.071, allocations: 138.2 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.071, allocations: 0 / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/1.071, allocations: 7.906 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.071, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.071, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.071, allocations: 4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.071, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001316/1.071, allocations: 73.69 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002449/1.071, allocations: 457.4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/1.071, allocations: 82.12 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.071, allocations: 6.328 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/1.071, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/1.071, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/1.071, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.187e-05/1.072, allocations: 83.27 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001129/1.073, allocations: 27.91 kB / 1.101 GB, free: 15.1 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001908/1.073, allocations: 115.2 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002527/1.073, allocations: 77.62 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.073, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/1.073, allocations: 8 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.073, allocations: 13.34 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/1.074, allocations: 61.94 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/1.074, allocations: 0.6917 MB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.074, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)