Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.819/1.819, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 180.6 kB / 487 MB, free: 5.441 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008377, allocations: 99.58 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4418/0.4427, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.6334, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5289/1.162, allocations: 152.5 MB / 1.354 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/1.163, allocations: 74.8 kB / 1.354 GB, free: 16.2 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.02871/1.191, allocations: 11.55 MB / 1.366 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/1.191, allocations: 8 kB / 1.366 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/1.191, allocations: 43.44 kB / 1.366 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/1.192, allocations: 427.7 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.192, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/1.192, allocations: 8 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/1.192, allocations: 74.12 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/1.193, allocations: 104.8 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.193, allocations: 0 / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/1.193, allocations: 7.5 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.193, allocations: 3.984 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/1.193, allocations: 0.5374 MB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/1.193, allocations: 122.7 kB / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/1.194, allocations: 43.17 kB / 1.367 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/1.194, allocations: 0 / 1.367 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/1.194, allocations: 96.48 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/1.194, allocations: 7.938 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002403/1.194, allocations: 134.3 kB / 1.367 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/1.194, allocations: 62.89 kB / 1.367 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/1.194, allocations: 473 kB / 1.368 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.194, allocations: 25.7 kB / 1.368 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/1.194, allocations: 136.8 kB / 1.368 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/1.195, allocations: 25.91 kB / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/1.195, allocations: 0 / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/1.195, allocations: 360 kB / 1.368 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/1.195, allocations: 121.8 kB / 1.368 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/1.195, allocations: 147.7 kB / 1.368 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/1.195, allocations: 131.7 kB / 1.369 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.195, allocations: 4 kB / 1.369 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005269/1.196, allocations: 356.1 kB / 1.369 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.196, allocations: 8 kB / 1.369 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.196, allocations: 0 / 1.369 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.196, allocations: 0 / 1.369 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/1.196, allocations: 43.92 kB / 1.369 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.196, allocations: 7.984 kB / 1.369 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/1.196, allocations: 31.33 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/1.196, allocations: 12 kB / 1.369 GB, free: 8.316 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.308e-05/1.196, allocations: 112.1 kB / 1.369 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/1.196, allocations: 39.52 kB / 1.369 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.197, allocations: 159.8 kB / 1.369 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.197, allocations: 4 kB / 1.369 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.197, allocations: 0 / 1.369 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.197, allocations: 4 kB / 1.369 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/1.197, allocations: 289 kB / 1.37 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.197, allocations: 0 / 1.37 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/1.197, allocations: 8 kB / 1.37 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.197, allocations: 3.938 kB / 1.37 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.197, allocations: 4 kB / 1.37 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.197, allocations: 0 / 1.37 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.197, allocations: 0 / 1.37 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001893/1.197, allocations: 182.7 kB / 1.37 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002124/1.197, allocations: 0.5535 MB / 1.37 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/1.197, allocations: 122.4 kB / 1.37 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.197, allocations: 3.188 kB / 1.37 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/1.198, allocations: 23.98 kB / 1.37 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/1.198, allocations: 15.97 kB / 1.371 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.198, allocations: 15.11 kB / 1.371 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000244/1.198, allocations: 309.1 kB / 1.371 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008417/1.199, allocations: 94.89 kB / 1.371 GB, free: 6.531 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006289/1.199, allocations: 330.1 kB / 1.371 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002665/1.2, allocations: 178.4 kB / 1.371 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.2, allocations: 0 / 1.371 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/1.2, allocations: 59.73 kB / 1.371 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/1.2, allocations: 75.25 kB / 1.372 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/1.201, allocations: 454.5 kB / 1.372 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/1.201, allocations: 0.8398 MB / 1.373 GB, free: 20.8 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/1.201, allocations: 0 / 1.373 GB, free: 20.8 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)