Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.141/2.141, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001581/0.001581, allocations: 185.2 kB / 360.3 MB, free: 7.531 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.648/1.648, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001219/0.001219, allocations: 98.47 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2426/0.2438, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.814, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/1.025, allocations: 140.6 MB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.025, allocations: 80.7 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.03071/1.056, allocations: 7.13 MB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.056, allocations: 12.44 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/1.056, allocations: 27.62 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/1.057, allocations: 326 kB / 1.107 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.057, allocations: 4 kB / 1.107 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/1.057, allocations: 12 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001717/1.057, allocations: 47.84 kB / 1.107 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/1.057, allocations: 81.66 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.057, allocations: 0 / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.058, allocations: 0 / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.058, allocations: 0 / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/1.058, allocations: 433.1 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/1.059, allocations: 78.67 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/1.059, allocations: 24.98 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/1.059, allocations: 0 / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/1.059, allocations: 72.81 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.059, allocations: 0 / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003127/1.059, allocations: 101.4 kB / 1.108 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.059, allocations: 51.41 kB / 1.108 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/1.06, allocations: 316.9 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/1.06, allocations: 33.69 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/1.06, allocations: 112 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/1.06, allocations: 19.75 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/1.06, allocations: 0 / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.06, allocations: 338.7 kB / 1.109 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.061, allocations: 59.98 kB / 1.109 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/1.061, allocations: 89.52 kB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/1.061, allocations: 75.89 kB / 1.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.061, allocations: 0 / 1.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006634/1.062, allocations: 209.3 kB / 1.109 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.062, allocations: 4 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.062, allocations: 4 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.062, allocations: 4.062 kB / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/1.062, allocations: 29.55 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.062, allocations: 0 / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/1.062, allocations: 19.83 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/1.063, allocations: 11.19 kB / 1.11 GB, free: 6.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.000121/1.063, allocations: 112.5 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/1.063, allocations: 27.66 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/1.063, allocations: 113 kB / 1.11 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.063, allocations: 3.984 kB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.063, allocations: 0 / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.063, allocations: 0 / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/1.063, allocations: 226 kB / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.063, allocations: 0 / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/1.064, allocations: 7.984 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.064, allocations: 1.312 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.064, allocations: 0 / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.064, allocations: 8 kB / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.064, allocations: 0 / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002704/1.064, allocations: 124.8 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000421/1.064, allocations: 0.5033 MB / 1.111 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.064, allocations: 96.91 kB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/1.065, allocations: 15.91 kB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.065, allocations: 11.98 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/1.065, allocations: 7.984 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/1.065, allocations: 5.688 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003484/1.065, allocations: 213.2 kB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001299/1.066, allocations: 55.92 kB / 1.111 GB, free: 4.805 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009208/1.067, allocations: 320.7 kB / 1.111 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003516/1.068, allocations: 106.7 kB / 1.111 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.068, allocations: 0 / 1.111 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/1.068, allocations: 31.94 kB / 1.111 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/1.068, allocations: 49.28 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/1.069, allocations: 282.2 kB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/1.07, allocations: 0.7783 MB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.07, allocations: 0 / 1.113 GB, free: 3.34 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)