Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.805/1.805, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001012/0.001012, allocations: 174.6 kB / 490.8 MB, free: 1.875 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.168/1.168, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 100.6 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4388/0.4397, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.6337, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5491/1.183, allocations: 153.3 MB / 1.361 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/1.183, allocations: 75.38 kB / 1.361 GB, free: 17.12 MB / 0.823 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.02807/1.211, allocations: 11.55 MB / 1.373 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.211, allocations: 8.844 kB / 1.373 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.211, allocations: 38.08 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/1.212, allocations: 443.2 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/1.212, allocations: 3.312 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.212, allocations: 6.531 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000155/1.212, allocations: 60.8 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/1.213, allocations: 111.3 kB / 1.373 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.213, allocations: 4 kB / 1.373 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.213, allocations: 1.484 kB / 1.373 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.213, allocations: 2.031 kB / 1.373 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/1.213, allocations: 0.5296 MB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/1.214, allocations: 119.6 kB / 1.374 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/1.214, allocations: 47.25 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/1.214, allocations: 1.719 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/1.214, allocations: 97.09 kB / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/1.214, allocations: 0 / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002884/1.214, allocations: 143.5 kB / 1.374 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/1.214, allocations: 57.53 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/1.215, allocations: 476.9 kB / 1.375 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.215, allocations: 30.77 kB / 1.375 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.215, allocations: 131.4 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/1.215, allocations: 36.62 kB / 1.375 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/1.215, allocations: 1.75 kB / 1.375 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.215, allocations: 349.6 kB / 1.375 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/1.215, allocations: 111.2 kB / 1.375 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/1.216, allocations: 152.6 kB / 1.376 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/1.216, allocations: 136.1 kB / 1.376 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.216, allocations: 4.938 kB / 1.376 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006659/1.217, allocations: 358.5 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.217, allocations: 9.875 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.217, allocations: 1.125 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/1.217, allocations: 1.656 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/1.217, allocations: 48.27 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.217, allocations: 3.281 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/1.217, allocations: 28.56 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/1.217, allocations: 21.08 kB / 1.376 GB, free: 30.58 MB / 0.8386 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 8.179e-05/1.217, allocations: 116.8 kB / 1.376 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/1.217, allocations: 34.72 kB / 1.376 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.218, allocations: 164 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.218, allocations: 1 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.218, allocations: 0.9688 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.218, allocations: 1.125 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/1.218, allocations: 281.3 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.218, allocations: 4.516 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/1.218, allocations: 14.81 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/1.218, allocations: 1.188 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.218, allocations: 2.828 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.218, allocations: 1.156 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.218, allocations: 3.938 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002307/1.218, allocations: 176.4 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003492/1.219, allocations: 0.562 MB / 1.377 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/1.219, allocations: 119.3 kB / 1.378 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/1.219, allocations: 10.7 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.219, allocations: 20.88 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/1.219, allocations: 16.77 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/1.219, allocations: 4.672 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003702/1.219, allocations: 311 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009303/1.22, allocations: 80.89 kB / 1.378 GB, free: 29.47 MB / 0.8386 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.0006444/1.221, allocations: 331.9 kB / 1.378 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002923/1.221, allocations: 189.1 kB / 1.379 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.221, allocations: 0 / 1.379 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/1.221, allocations: 57.72 kB / 1.379 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/1.222, allocations: 75.44 kB / 1.379 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/1.223, allocations: 450.2 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/1.223, allocations: 0.8369 MB / 1.38 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.223, allocations: 0 / 1.38 GB, free: 28.42 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)