Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",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 9.1.1-maint.9.1.x/package.mo): time 1.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009364/0.0009364, allocations: 177.3 kB / 487 MB, free: 5.363 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 98.05 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.45/0.4508, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.6491, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/1.207, allocations: 155.2 MB / 1.357 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.207, allocations: 85.84 kB / 1.357 GB, free: 15.88 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.02354/1.231, allocations: 10.1 MB / 1.367 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.231, allocations: 13 kB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/1.231, allocations: 47.53 kB / 1.367 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/1.231, allocations: 369 kB / 1.367 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.231, allocations: 8 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/1.231, allocations: 19.94 kB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002456/1.232, allocations: 150.7 kB / 1.367 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/1.232, allocations: 212.8 kB / 1.368 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.232, allocations: 0 / 1.368 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.232, allocations: 11.11 kB / 1.368 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.232, allocations: 8 kB / 1.368 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/1.233, allocations: 0.8689 MB / 1.368 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/1.233, allocations: 165.9 kB / 1.369 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/1.233, allocations: 75.16 kB / 1.369 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/1.233, allocations: 4 kB / 1.369 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/1.234, allocations: 108.1 kB / 1.369 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/1.234, allocations: 0 / 1.369 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002722/1.234, allocations: 158.8 kB / 1.369 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.234, allocations: 85.02 kB / 1.369 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/1.234, allocations: 339.2 kB / 1.369 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.234, allocations: 29.7 kB / 1.369 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/1.234, allocations: 165.8 kB / 1.37 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/1.234, allocations: 46.3 kB / 1.37 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/1.234, allocations: 0 / 1.37 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/1.234, allocations: 340.4 kB / 1.37 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.235, allocations: 78.67 kB / 1.37 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/1.235, allocations: 123.2 kB / 1.37 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/1.235, allocations: 107.2 kB / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.235, allocations: 0 / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003986/1.235, allocations: 275.8 kB / 1.37 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.235, allocations: 181.9 kB / 1.371 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.235, allocations: 0 / 1.371 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/1.235, allocations: 4 kB / 1.371 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.236, allocations: 47.91 kB / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/1.236, allocations: 0 / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.236, allocations: 39.83 kB / 1.371 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/1.236, allocations: 10.97 kB / 1.371 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-06/1.236, allocations: 4 kB / 1.371 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003326/1.236, allocations: 208.1 kB / 1.371 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/1.236, allocations: 0 / 1.371 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/1.236, allocations: 0 / 1.371 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.236, allocations: 43.95 kB / 1.371 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/1.236, allocations: 4 kB / 1.371 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/1.237, allocations: 31.81 kB / 1.371 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/1.237, allocations: 7.875 kB / 1.371 GB, free: 6.629 MB / 0.8073 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.TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEvent,$PRE.TRooMea.tab.nextTimeEventScaled,TRooMea.tab.nextTimeEventScaled,$PRE.conHea.hysHea.y,conHea.hysHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 6.462e-05/1.237, allocations: 112.9 kB / 1.371 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/1.237, allocations: 35.56 kB / 1.371 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/1.237, allocations: 178.5 kB / 1.371 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.237, allocations: 0 / 1.371 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/1.237, allocations: 0 / 1.371 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.237, allocations: 0 / 1.371 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/1.237, allocations: 0.5662 MB / 1.372 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.237, allocations: 0 / 1.372 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.238, allocations: 32.02 kB / 1.372 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.238, allocations: 4 kB / 1.372 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.238, allocations: 0 / 1.372 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.238, allocations: 0 / 1.372 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.238, allocations: 4.047 kB / 1.372 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002253/1.238, allocations: 294 kB / 1.372 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002845/1.238, allocations: 0.6564 MB / 1.373 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/1.238, allocations: 115.4 kB / 1.373 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/1.238, allocations: 3.984 kB / 1.373 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.238, allocations: 19.98 kB / 1.373 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.238, allocations: 18.84 kB / 1.373 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.239, allocations: 4 kB / 1.373 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001723/1.239, allocations: 240.5 kB / 1.373 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001495/1.24, allocations: 141.6 kB / 1.373 GB, free: 4.41 MB / 0.8073 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,TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of discrete states: 3 (TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.0005648/1.241, allocations: 328.9 kB / 1.374 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003737/1.241, allocations: 284.8 kB / 1.374 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.241, allocations: 4 kB / 1.374 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/1.241, allocations: 72.11 kB / 1.374 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/1.242, allocations: 82.59 kB / 1.374 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/1.242, allocations: 406.9 kB / 1.375 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/1.243, allocations: 0.8341 MB / 1.375 GB, free: 18.64 MB / 0.823 GB Notification: Performance of SimCode: time 3.01e-07/1.243, allocations: 0 / 1.375 GB, free: 18.64 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.fmu > Buildings_9_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1)