Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001294/0.001294, allocations: 189.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4698/0.4698, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.304/1.304, allocations: 221.4 MB / 342.8 MB, free: 5.234 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.001102/0.001102, allocations: 106.3 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.1818, allocations: 78.45 MB / 494 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.5668, allocations: 72.3 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.973/3.54, allocations: 1.819 GB / 2.372 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/3.54, allocations: 83.95 kB / 2.372 GB, free: 4.48 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.6114/4.151, allocations: 210.3 MB / 2.577 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/4.152, allocations: 8 kB / 2.577 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/4.152, allocations: 31.72 kB / 2.577 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/4.152, allocations: 279.5 kB / 2.577 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/4.152, allocations: 4 kB / 2.577 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/4.152, allocations: 12 kB / 2.578 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001979/4.152, allocations: 99.88 kB / 2.578 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/4.152, allocations: 218.5 kB / 2.578 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/4.152, allocations: 0 / 2.578 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/4.153, allocations: 4 kB / 2.578 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/4.153, allocations: 4 kB / 2.578 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/4.153, allocations: 1.294 MB / 2.579 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/4.154, allocations: 151.8 kB / 2.579 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/4.154, allocations: 85.19 kB / 2.579 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/4.154, allocations: 117.1 kB / 2.579 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/4.154, allocations: 46.5 kB / 2.579 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/4.154, allocations: 0 / 2.579 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000447/4.154, allocations: 137.3 kB / 2.58 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/4.154, allocations: 192 kB / 2.58 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/4.155, allocations: 166.1 kB / 2.58 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/4.155, allocations: 29.7 kB / 2.58 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/4.155, allocations: 140 kB / 2.58 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/4.155, allocations: 31.55 kB / 2.58 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/4.155, allocations: 0 / 2.58 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/4.155, allocations: 334.7 kB / 2.58 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/4.155, allocations: 24 kB / 2.58 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/4.155, allocations: 117.3 kB / 2.581 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/4.155, allocations: 67.88 kB / 2.581 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/4.155, allocations: 4 kB / 2.581 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000264/4.155, allocations: 157.3 kB / 2.581 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/4.155, allocations: 4 kB / 2.581 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/4.155, allocations: 0 / 2.581 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/4.155, allocations: 4.219 kB / 2.581 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/4.156, allocations: 47.91 kB / 2.581 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/4.156, allocations: 0 / 2.581 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/4.156, allocations: 23.89 kB / 2.581 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/4.156, allocations: 12 kB / 2.581 GB, free: 40.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.302e-05/4.156, allocations: 108.7 kB / 2.581 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/4.156, allocations: 23.72 kB / 2.581 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/4.156, allocations: 115 kB / 2.581 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/4.156, allocations: 4 kB / 2.581 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.156, allocations: 4 kB / 2.581 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/4.156, allocations: 4 kB / 2.581 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/4.157, allocations: 0.7267 MB / 2.582 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/4.157, allocations: 0 / 2.582 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/4.157, allocations: 31.91 kB / 2.582 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/4.157, allocations: 8.156 kB / 2.582 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/4.157, allocations: 0 / 2.582 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/4.157, allocations: 4 kB / 2.582 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.157, allocations: 3.984 kB / 2.582 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003554/4.157, allocations: 363.9 kB / 2.582 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005591/4.158, allocations: 0.8169 MB / 2.583 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/4.158, allocations: 96.91 kB / 2.583 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/4.158, allocations: 4 kB / 2.583 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/4.158, allocations: 11.98 kB / 2.583 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/4.158, allocations: 8 kB / 2.583 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/4.158, allocations: 12.05 kB / 2.583 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.59e-05/4.158, allocations: 134.1 kB / 2.583 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001249/4.16, allocations: 243.6 kB / 2.584 GB, free: 37.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001198/4.161, allocations: 1.12 MB / 2.585 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001722/4.161, allocations: 88.33 kB / 2.585 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/4.161, allocations: 4.062 kB / 2.585 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/4.161, allocations: 47.92 kB / 2.585 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/4.162, allocations: 52.56 kB / 2.585 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/4.162, allocations: 332.8 kB / 2.585 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/4.162, allocations: 0.7823 MB / 2.586 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/4.162, allocations: 0 / 2.586 GB, free: 34.62 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)