Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 191.1 kB / 7.803 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4768/0.4768, allocations: 90.85 MB / 99.07 MB, free: 14.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.4 MB / 342.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 90.53 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2153/0.2165, allocations: 78.45 MB / 494 MB, free: 7.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.6464, allocations: 72.29 MB / 0.553 GB, free: 73.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.653/4.299, allocations: 1.821 GB / 2.374 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/4.3, allocations: 87.19 kB / 2.374 GB, free: 237.4 MB / 0.6042 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.093/5.393, allocations: 430.7 MB / 2.795 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/5.393, allocations: 12 kB / 2.795 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/5.395, allocations: 266.8 kB / 2.795 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/5.396, allocations: 484.2 kB / 2.795 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/5.396, allocations: 12 kB / 2.795 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/5.396, allocations: 31.98 kB / 2.795 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006095/5.397, allocations: 393.7 kB / 2.796 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/5.397, allocations: 489.6 kB / 2.796 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/5.397, allocations: 0 / 2.796 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/5.397, allocations: 4 kB / 2.796 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/5.397, allocations: 8 kB / 2.796 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/5.4, allocations: 2.132 MB / 2.798 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/5.4, allocations: 366.6 kB / 2.799 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/5.4, allocations: 201.3 kB / 2.799 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/5.401, allocations: 0.6325 MB / 2.8 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/5.401, allocations: 259.5 kB / 2.8 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/5.402, allocations: 0 / 2.8 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002047/5.404, allocations: 0.6137 MB / 2.8 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/5.404, allocations: 59.41 kB / 2.8 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/5.404, allocations: 305.1 kB / 2.801 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/5.404, allocations: 29.7 kB / 2.801 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/5.404, allocations: 224 kB / 2.801 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/5.404, allocations: 118.2 kB / 2.801 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/5.404, allocations: 0 / 2.801 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/5.404, allocations: 354.8 kB / 2.801 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/5.404, allocations: 144.9 kB / 2.802 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/5.405, allocations: 273.5 kB / 2.802 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/5.405, allocations: 240.3 kB / 2.802 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/5.405, allocations: 0 / 2.802 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008448/5.406, allocations: 0.5092 MB / 2.803 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/5.406, allocations: 4 kB / 2.803 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/5.406, allocations: 4 kB / 2.803 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/5.406, allocations: 7.984 kB / 2.803 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/5.407, allocations: 116 kB / 2.803 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/5.407, allocations: 7.984 kB / 2.803 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/5.407, allocations: 75.55 kB / 2.803 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/5.407, allocations: 23.98 kB / 2.803 GB, free: 35.11 MB / 0.6042 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.0001043/5.407, allocations: 131.8 kB / 2.803 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/5.407, allocations: 43.44 kB / 2.803 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/5.408, allocations: 485.6 kB / 2.803 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/5.408, allocations: 4 kB / 2.803 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/5.408, allocations: 0 / 2.803 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/5.408, allocations: 4 kB / 2.803 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/5.41, allocations: 1.226 MB / 2.805 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/5.41, allocations: 4 kB / 2.805 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/5.41, allocations: 92.23 kB / 2.805 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/5.41, allocations: 8 kB / 2.805 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/5.411, allocations: 7.984 kB / 2.805 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/5.411, allocations: 7.938 kB / 2.805 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/5.411, allocations: 4 kB / 2.805 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0011/5.412, allocations: 1 MB / 2.806 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001626/5.413, allocations: 1.661 MB / 2.807 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/5.413, allocations: 156.4 kB / 2.808 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/5.414, allocations: 8 kB / 2.808 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/5.414, allocations: 59.91 kB / 2.808 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/5.414, allocations: 51.88 kB / 2.808 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/5.414, allocations: 12 kB / 2.808 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002156/5.415, allocations: 231.2 kB / 2.808 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001786/5.416, allocations: 427.6 kB / 2.808 GB, free: 29.1 MB / 0.6042 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.001889/5.418, allocations: 1.666 MB / 2.81 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006488/5.419, allocations: 431.6 kB / 2.81 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/5.419, allocations: 0.75 kB / 2.81 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/5.419, allocations: 237.8 kB / 2.811 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009596/5.42, allocations: 187.4 kB / 2.811 GB, free: 26.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/5.422, allocations: 0.7893 MB / 2.811 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/5.422, allocations: 0.9322 MB / 2.812 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/5.422, allocations: 0 / 2.812 GB, free: 24.71 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)