Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.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_TRoomRelHum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TRoomRelHum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TRoomRelHum",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.825/1.825, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.000991/0.000991, allocations: 181.2 kB / 490.8 MB, free: 1.926 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.161/1.161, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008276/0.0008276, allocations: 95.05 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4161/0.4169, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.602, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/1.1, allocations: 157.7 MB / 1.366 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.1, allocations: 86.25 kB / 1.366 GB, free: 17.55 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.03259/1.133, allocations: 13 MB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.133, allocations: 9.5 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/1.133, allocations: 112.3 kB / 1.379 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/1.134, allocations: 451.4 kB / 1.379 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.134, allocations: 13.59 kB / 1.379 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/1.134, allocations: 18.06 kB / 1.379 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004285/1.135, allocations: 234.9 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/1.135, allocations: 304.5 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.135, allocations: 4 kB / 1.379 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/1.135, allocations: 0 / 1.379 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.135, allocations: 7.281 kB / 1.379 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/1.137, allocations: 1.138 MB / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/1.137, allocations: 290.2 kB / 1.381 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/1.138, allocations: 117.8 kB / 1.381 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/1.138, allocations: 6.922 kB / 1.381 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/1.138, allocations: 177.2 kB / 1.381 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/1.138, allocations: 0 / 1.381 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0005188/1.138, allocations: 291.5 kB / 1.381 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.138, allocations: 81.58 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/1.139, allocations: 495.5 kB / 1.382 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/1.139, allocations: 28.3 kB / 1.382 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/1.139, allocations: 182.9 kB / 1.382 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/1.139, allocations: 75.59 kB / 1.382 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.139, allocations: 1.281 kB / 1.382 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.139, allocations: 362.2 kB / 1.383 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.14, allocations: 154.5 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/1.14, allocations: 196.7 kB / 1.383 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/1.14, allocations: 171.2 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.14, allocations: 1.281 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007328/1.141, allocations: 447.9 kB / 1.384 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/1.141, allocations: 182.9 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.141, allocations: 1.312 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.141, allocations: 5.328 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.141, allocations: 76.64 kB / 1.384 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.141, allocations: 1.25 kB / 1.384 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/1.142, allocations: 44.5 kB / 1.384 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/1.142, allocations: 15.48 kB / 1.384 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/1.142, allocations: 6.844 kB / 1.384 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000632/1.142, allocations: 365.8 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/1.142, allocations: 0 / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/1.142, allocations: 2.531 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/1.143, allocations: 63.98 kB / 1.384 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/1.143, allocations: 5.234 kB / 1.384 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/1.143, allocations: 43.53 kB / 1.384 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/1.143, allocations: 18.95 kB / 1.384 GB, free: 29.3 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 (37): * Single equations (assignments): 37 * 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.0001021/1.143, allocations: 117.9 kB / 1.384 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/1.143, allocations: 42.81 kB / 1.384 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/1.144, allocations: 345.8 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.144, allocations: 2.625 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.144, allocations: 0 / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.144, allocations: 5.25 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/1.145, allocations: 0.7982 MB / 1.386 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.145, allocations: 1.281 kB / 1.386 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/1.145, allocations: 57.53 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.145, allocations: 5.391 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.145, allocations: 2.344 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.145, allocations: 10.36 kB / 1.386 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.145, allocations: 32 / 1.386 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004934/1.146, allocations: 416 kB / 1.386 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005987/1.146, allocations: 0.7906 MB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/1.147, allocations: 168.6 kB / 1.387 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/1.147, allocations: 4.781 kB / 1.387 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/1.147, allocations: 29.47 kB / 1.387 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.147, allocations: 19.97 kB / 1.387 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/1.147, allocations: 10.8 kB / 1.387 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003389/1.147, allocations: 336 kB / 1.387 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001707/1.149, allocations: 197 kB / 1.388 GB, free: 27.47 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 (26): * Single equations (assignments): 24 * 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.0006681/1.15, allocations: 353.2 kB / 1.388 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000774/1.151, allocations: 497.7 kB / 1.388 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.151, allocations: 0 / 1.388 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.151, allocations: 134.2 kB / 1.389 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/1.151, allocations: 100.3 kB / 1.389 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/1.153, allocations: 0.645 MB / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/1.153, allocations: 0.9072 MB / 1.39 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/1.153, allocations: 0 / 1.39 GB, free: 26.11 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TRoomRelHum_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_RadiantSystems_Cooling_Validation_HighMassSupplyTemperature_TRoomRelHum.fmu > Buildings_latest_Buildings.Controls.OBC.RadiantSystems.Cooling.Validation.HighMassSupplyTemperature_TRoomRelHum.pipe 2>&1)