Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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 2.04/2.04, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001092/0.001092, allocations: 180.5 kB / 487 MB, free: 5.34 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.384/1.384, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0009913/0.000991, allocations: 106.1 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6118/0.6128, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.9002, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.602/5.502, allocations: 1.868 GB / 3.073 GB, free: 431.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.503, allocations: 86.62 kB / 3.073 GB, free: 431.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 1.498/7.001, allocations: 430.7 MB / 3.494 GB, free: 295.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/7.001, allocations: 7.75 kB / 3.494 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/7.003, allocations: 270.5 kB / 3.494 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/7.004, allocations: 488.9 kB / 3.494 GB, free: 295.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/7.004, allocations: 14.06 kB / 3.494 GB, free: 295.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/7.004, allocations: 29.16 kB / 3.494 GB, free: 295.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006881/7.005, allocations: 386.4 kB / 3.495 GB, free: 295.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/7.006, allocations: 490.9 kB / 3.495 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/7.006, allocations: 0 / 3.495 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/7.006, allocations: 3.969 kB / 3.495 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/7.006, allocations: 11.44 kB / 3.495 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/7.008, allocations: 2.135 MB / 3.497 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/7.009, allocations: 372.9 kB / 3.498 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/7.009, allocations: 192.6 kB / 3.498 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/7.01, allocations: 0.6345 MB / 3.499 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/7.01, allocations: 260.2 kB / 3.499 GB, free: 293.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.825e-06/7.01, allocations: 0 / 3.499 GB, free: 293.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.002023/7.012, allocations: 0.619 MB / 3.499 GB, free: 293.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/7.012, allocations: 58 kB / 3.499 GB, free: 293.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/7.013, allocations: 304.3 kB / 3.5 GB, free: 293.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/7.013, allocations: 33.38 kB / 3.5 GB, free: 293.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/7.013, allocations: 216.1 kB / 3.5 GB, free: 293.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/7.013, allocations: 118.5 kB / 3.5 GB, free: 293.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/7.013, allocations: 0 / 3.5 GB, free: 293.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001017/7.013, allocations: 362.5 kB / 3.5 GB, free: 292.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/7.013, allocations: 144.9 kB / 3.501 GB, free: 292.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/7.014, allocations: 271.1 kB / 3.501 GB, free: 292.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/7.014, allocations: 232.1 kB / 3.501 GB, free: 292.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/7.014, allocations: 3.781 kB / 3.501 GB, free: 292.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009264/7.015, allocations: 0.51 MB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/7.015, allocations: 3.719 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/7.015, allocations: 3.625 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/7.015, allocations: 3.5 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/7.016, allocations: 114.5 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/7.016, allocations: 9.5 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/7.016, allocations: 84.28 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/7.016, allocations: 21.91 kB / 3.502 GB, free: 292.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001322/7.017, allocations: 126.5 kB / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/7.017, allocations: 49.41 kB / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/7.018, allocations: 474.6 kB / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/7.018, allocations: 3.219 kB / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/7.018, allocations: 0 / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/7.018, allocations: 7.75 kB / 3.502 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/7.019, allocations: 1.226 MB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/7.019, allocations: 3.875 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/7.02, allocations: 85.66 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/7.02, allocations: 11.19 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/7.02, allocations: 7.625 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/7.02, allocations: 10.88 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/7.02, allocations: 3.688 kB / 3.504 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00122/7.021, allocations: 1.004 MB / 3.505 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001686/7.023, allocations: 1.647 MB / 3.506 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/7.023, allocations: 165.7 kB / 3.506 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/7.023, allocations: 6.812 kB / 3.506 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/7.024, allocations: 54.78 kB / 3.507 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/7.024, allocations: 50.36 kB / 3.507 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/7.024, allocations: 16.45 kB / 3.507 GB, free: 290.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002069/7.024, allocations: 232.3 kB / 3.507 GB, free: 290.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001695/7.026, allocations: 428.2 kB / 3.507 GB, free: 290.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * 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.001998/7.028, allocations: 1.664 MB / 3.509 GB, free: 290 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000655/7.028, allocations: 429 kB / 3.509 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/7.028, allocations: 6.719 kB / 3.509 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/7.029, allocations: 240.1 kB / 3.509 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/7.03, allocations: 180.6 kB / 3.51 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/7.032, allocations: 0.8001 MB / 3.51 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/7.032, allocations: 0.9327 MB / 3.511 GB, free: 288.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/7.032, allocations: 0 / 3.511 GB, free: 288.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)