Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.806/1.806, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001026/0.001026, allocations: 173.2 kB / 490.8 MB, free: 1.938 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.136/1.136, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008333/0.0008333, allocations: 96.72 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4329/0.4337, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.6138, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5216/1.135, allocations: 153.3 MB / 1.361 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/1.136, allocations: 73.12 kB / 1.361 GB, free: 17.15 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01722/1.153, allocations: 7.239 MB / 1.368 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.153, allocations: 9.156 kB / 1.368 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/1.153, allocations: 26.38 kB / 1.369 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/1.154, allocations: 341.7 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.154, allocations: 11.08 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/1.154, allocations: 5.125 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/1.154, allocations: 33.77 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/1.154, allocations: 71.23 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.154, allocations: 0.6094 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.154, allocations: 1.312 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.154, allocations: 1.375 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/1.154, allocations: 429.8 kB / 1.369 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.155, allocations: 78.72 kB / 1.369 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/1.155, allocations: 33.12 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/1.155, allocations: 0 / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.278e-05/1.155, allocations: 71.56 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.155, allocations: 1 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001808/1.155, allocations: 92.64 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/1.155, allocations: 51.41 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/1.155, allocations: 347.7 kB / 1.37 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.155, allocations: 27.33 kB / 1.37 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/1.155, allocations: 110.7 kB / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/1.155, allocations: 25.12 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.156, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.156, allocations: 340 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/1.156, allocations: 68.62 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.156, allocations: 93.06 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/1.156, allocations: 77.34 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.156, allocations: 1 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003492/1.156, allocations: 221.5 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.156, allocations: 7.969 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.156, allocations: 1.438 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/1.156, allocations: 1.031 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.157, allocations: 27.17 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/1.157, allocations: 1.031 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.157, allocations: 17.17 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.157, allocations: 20.23 kB / 1.371 GB, free: 30.97 MB / 0.8386 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.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.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 7.271e-05/1.157, allocations: 108.5 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/1.157, allocations: 23.47 kB / 1.371 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/1.157, allocations: 106.4 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.157, allocations: 1.594 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.157, allocations: 5.438 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.157, allocations: 0.75 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/1.157, allocations: 226.6 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.157, allocations: 0 / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/1.157, allocations: 10.81 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.157, allocations: 0 / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.157, allocations: 3.125 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.157, allocations: 0 / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.157, allocations: 1.031 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001628/1.157, allocations: 130 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002783/1.158, allocations: 0.4986 MB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/1.158, allocations: 105.7 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/1.158, allocations: 9.781 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.158, allocations: 12.75 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/1.158, allocations: 14.75 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/1.158, allocations: 7.766 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002033/1.158, allocations: 232.9 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007871/1.159, allocations: 57.38 kB / 1.373 GB, free: 29.89 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.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.0005705/1.16, allocations: 322.7 kB / 1.373 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001752/1.16, allocations: 108.5 kB / 1.373 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.16, allocations: 0.875 kB / 1.373 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/1.16, allocations: 36.56 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.16, allocations: 46.89 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/1.161, allocations: 296.6 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.161, allocations: 0.7884 MB / 1.374 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.161, allocations: 0 / 1.374 GB, free: 28.88 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)