Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.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.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TSurRelHum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TSurRelHum",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.814/1.814, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009576/0.0009576, allocations: 181.2 kB / 490.8 MB, free: 1.961 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.13/1.13, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0008336/0.0008336, allocations: 86.33 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.422/0.4229, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.6049, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/1.105, allocations: 157.8 MB / 1.366 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/1.105, allocations: 89.75 kB / 1.366 GB, free: 17.45 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.03225/1.137, allocations: 13.36 MB / 1.379 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/1.137, allocations: 8.312 kB / 1.379 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/1.138, allocations: 113.9 kB / 1.379 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/1.138, allocations: 470.6 kB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.138, allocations: 10.41 kB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.139, allocations: 22.66 kB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004434/1.139, allocations: 244.4 kB / 1.38 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/1.139, allocations: 319.4 kB / 1.38 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.139, allocations: 1.094 kB / 1.38 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.14, allocations: 0 / 1.38 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/1.14, allocations: 11.66 kB / 1.38 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/1.141, allocations: 1.177 MB / 1.381 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/1.142, allocations: 313.6 kB / 1.382 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/1.142, allocations: 131.2 kB / 1.382 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/1.142, allocations: 6.938 kB / 1.382 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/1.142, allocations: 183.9 kB / 1.382 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/1.142, allocations: 3.938 kB / 1.382 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0005485/1.143, allocations: 309.3 kB / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/1.143, allocations: 83.78 kB / 1.382 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/1.143, allocations: 496.5 kB / 1.383 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.143, allocations: 30.98 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/1.144, allocations: 191.4 kB / 1.383 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/1.144, allocations: 84.88 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/1.144, allocations: 0 / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.144, allocations: 354.8 kB / 1.383 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/1.144, allocations: 158.3 kB / 1.383 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/1.144, allocations: 213.2 kB / 1.384 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/1.145, allocations: 175.9 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.145, allocations: 0 / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007201/1.145, allocations: 450.1 kB / 1.384 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/1.145, allocations: 187.7 kB / 1.384 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.145, allocations: 3.906 kB / 1.384 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/1.145, allocations: 6.438 kB / 1.384 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/1.146, allocations: 93.11 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.146, allocations: 2.219 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/1.146, allocations: 58.66 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/1.146, allocations: 18.05 kB / 1.385 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/1.146, allocations: 3.938 kB / 1.385 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006335/1.147, allocations: 377.1 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/1.147, allocations: 0 / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/1.147, allocations: 2.406 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/1.147, allocations: 80.81 kB / 1.385 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/1.147, allocations: 1.344 kB / 1.385 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.148, allocations: 50.19 kB / 1.385 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/1.148, allocations: 18.11 kB / 1.385 GB, free: 28.92 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: 7 ($whenCondition1,$PRE.TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEvent,$PRE.TPhiRooMea.tab.nextTimeEventScaled,TPhiRooMea.tab.nextTimeEventScaled,$PRE.conCoo.hysCoo.y,conCoo.hysCoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.513e-05/1.148, allocations: 110.1 kB / 1.385 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/1.148, allocations: 43.47 kB / 1.385 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/1.149, allocations: 367.7 kB / 1.386 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.149, allocations: 3.312 kB / 1.386 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.149, allocations: 0 / 1.386 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.149, allocations: 4.469 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/1.15, allocations: 0.8393 MB / 1.386 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.15, allocations: 0.8125 kB / 1.386 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/1.15, allocations: 72.62 kB / 1.387 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.15, allocations: 1.094 kB / 1.387 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/1.15, allocations: 6.922 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.15, allocations: 1.875 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.15, allocations: 0.9062 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005233/1.151, allocations: 432.6 kB / 1.387 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006861/1.151, allocations: 0.8085 MB / 1.388 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/1.151, allocations: 179.9 kB / 1.388 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/1.152, allocations: 2 kB / 1.388 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/1.152, allocations: 35.5 kB / 1.388 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/1.152, allocations: 25.73 kB / 1.388 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/1.152, allocations: 17.91 kB / 1.388 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003665/1.152, allocations: 334.5 kB / 1.388 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001738/1.154, allocations: 208.3 kB / 1.389 GB, free: 27.06 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEventScaled,conCoo.hysCoo.y) * Number of discrete states: 3 (TPhiRooMea.tab.nextTimeEvent,TPhiRooMea.tab.nextTimeEventScaled,conCoo.hysCoo.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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.0006165/1.155, allocations: 346.4 kB / 1.389 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000729/1.156, allocations: 0.5029 MB / 1.389 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.156, allocations: 1.562 kB / 1.389 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.156, allocations: 142.6 kB / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/1.156, allocations: 89.58 kB / 1.39 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/1.157, allocations: 0.6666 MB / 1.39 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/1.158, allocations: 0.9225 MB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.158, allocations: 3.938 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TSurRelHum_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TSurRelHum.fmu > Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TSurRelHum.pipe 2>&1)