Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.757/1.757, allocations: 387.2 MB / 394.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 172.4 kB / 487 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 6.762 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 106.9 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2298/0.2307, allocations: 148.5 MB / 1.066 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.8111, allocations: 142.3 MB / 1.205 GB, free: 72.62 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.9627, allocations: 148.6 MB / 1.35 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.963, allocations: 69.56 kB / 1.35 GB, free: 14.61 MB / 0.8542 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.005162/0.9681, allocations: 1.834 MB / 1.352 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9682, allocations: 8 kB / 1.352 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.9682, allocations: 13.39 kB / 1.352 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.9683, allocations: 167 kB / 1.352 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.9684, allocations: 7.938 kB / 1.352 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.9684, allocations: 4 kB / 1.352 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.313e-05/0.9684, allocations: 4 kB / 1.352 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.778e-05/0.9685, allocations: 42.47 kB / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.9685, allocations: 0 / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.9685, allocations: 0 / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9685, allocations: 0 / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.9689, allocations: 265.5 kB / 1.353 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.9689, allocations: 26.52 kB / 1.353 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.9689, allocations: 8.766 kB / 1.353 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.9689, allocations: 0.6562 kB / 1.353 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/0.969, allocations: 51.47 kB / 1.353 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.969, allocations: 0 / 1.353 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.9692, allocations: 49.69 kB / 1.353 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.9692, allocations: 55.41 kB / 1.353 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.9693, allocations: 97.41 kB / 1.353 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.9693, allocations: 29.7 kB / 1.353 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.9693, allocations: 94.94 kB / 1.353 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.9693, allocations: 3.906 kB / 1.353 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.9694, allocations: 0 / 1.353 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.9694, allocations: 318.8 kB / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.9695, allocations: 24 kB / 1.353 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.9696, allocations: 47.25 kB / 1.354 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.9698, allocations: 35.95 kB / 1.354 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9698, allocations: 0 / 1.354 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002626/0.97, allocations: 109.7 kB / 1.354 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.9701, allocations: 8.094 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9701, allocations: 7.984 kB / 1.354 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.9701, allocations: 3.906 kB / 1.354 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-05/0.9701, allocations: 0 / 1.354 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.9701, allocations: 4 kB / 1.354 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.9703, allocations: 36.66 kB / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.9703, allocations: 14.42 kB / 1.354 GB, free: 11.1 MB / 0.8542 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 6.543e-05/0.9704, allocations: 105 kB / 1.354 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.9704, allocations: 7.906 kB / 1.354 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.9704, allocations: 7.938 kB / 1.354 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.9705, allocations: 4 kB / 1.354 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9705, allocations: 0 / 1.354 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9705, allocations: 4.562 kB / 1.354 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.879e-05/0.9706, allocations: 138.2 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.9706, allocations: 0 / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.9706, allocations: 4.5 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9706, allocations: 7.891 kB / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.9706, allocations: 0 / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.9706, allocations: 4 kB / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9706, allocations: 0.6875 kB / 1.354 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.793e-05/0.9707, allocations: 77.03 kB / 1.354 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001584/0.9709, allocations: 447.9 kB / 1.354 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.9709, allocations: 85.02 kB / 1.355 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.9709, allocations: 3.984 kB / 1.355 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.971, allocations: 4.625 kB / 1.355 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.971, allocations: 8 kB / 1.355 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.971, allocations: 0 / 1.355 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.928e-05/0.971, allocations: 79.84 kB / 1.355 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007455/0.9718, allocations: 31.89 kB / 1.355 GB, free: 10 MB / 0.8542 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.0001232/0.9719, allocations: 103.2 kB / 1.355 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.9721, allocations: 73.69 kB / 1.355 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9721, allocations: 0 / 1.355 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.9721, allocations: 16.12 kB / 1.355 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.9723, allocations: 8 kB / 1.355 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.9724, allocations: 71.39 kB / 1.355 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.9727, allocations: 0.6876 MB / 1.356 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.9727, allocations: 7.938 kB / 1.356 GB, free: 8.98 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)