Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001295/0.001294, allocations: 187.5 kB / 7.803 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.4702/0.4702, allocations: 90.85 MB / 99.07 MB, free: 14.97 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.292/1.292, allocations: 221.4 MB / 342.7 MB, free: 5.141 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.000976/0.000976, allocations: 105.6 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.183/0.184, allocations: 78.45 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.6285, allocations: 72.29 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.451/4.08, allocations: 1.82 GB / 2.373 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/4.08, allocations: 83.95 kB / 2.373 GB, free: 5.891 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.138/5.218, allocations: 300.8 MB / 2.667 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/5.218, allocations: 7.125 kB / 2.667 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/5.219, allocations: 64.47 kB / 2.667 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/5.219, allocations: 326.7 kB / 2.667 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/5.219, allocations: 7.688 kB / 2.667 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/5.219, allocations: 18.03 kB / 2.667 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/5.219, allocations: 144.5 kB / 2.667 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/5.22, allocations: 260.7 kB / 2.668 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/5.22, allocations: 3.938 kB / 2.668 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/5.22, allocations: 3.656 kB / 2.668 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/5.22, allocations: 6.625 kB / 2.668 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/5.221, allocations: 1.466 MB / 2.669 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/5.221, allocations: 89.94 kB / 2.669 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/5.221, allocations: 71.27 kB / 2.669 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/5.222, allocations: 300.1 kB / 2.669 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/5.222, allocations: 38.31 kB / 2.67 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/5.222, allocations: 3.5 kB / 2.67 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005766/5.222, allocations: 204.1 kB / 2.67 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/5.222, allocations: 55.28 kB / 2.67 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/5.223, allocations: 187.1 kB / 2.67 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/5.223, allocations: 29.55 kB / 2.67 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/5.223, allocations: 168.4 kB / 2.67 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/5.223, allocations: 46.66 kB / 2.67 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/5.223, allocations: 0 / 2.67 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/5.223, allocations: 338.6 kB / 2.671 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/5.223, allocations: 43.69 kB / 2.671 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/5.223, allocations: 97.03 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/5.223, allocations: 97.27 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/5.223, allocations: 0 / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003175/5.223, allocations: 205.5 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/5.223, allocations: 3.844 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/5.223, allocations: 3.906 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/5.223, allocations: 0 / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/5.224, allocations: 42.31 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/5.224, allocations: 3.969 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/5.224, allocations: 30.38 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/5.224, allocations: 15 kB / 2.671 GB, free: 156.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.42e-05/5.224, allocations: 105.4 kB / 2.671 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/5.224, allocations: 23.03 kB / 2.671 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/5.224, allocations: 200 kB / 2.671 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/5.224, allocations: 3.656 kB / 2.671 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/5.224, allocations: 3.906 kB / 2.671 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/5.224, allocations: 0 / 2.671 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/5.225, allocations: 0.6319 MB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/5.225, allocations: 0 / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/5.225, allocations: 32.92 kB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/5.225, allocations: 3.312 kB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/5.225, allocations: 3.375 kB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/5.225, allocations: 3.281 kB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/5.225, allocations: 3.375 kB / 2.672 GB, free: 156 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003377/5.226, allocations: 417.5 kB / 2.672 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005749/5.226, allocations: 0.8244 MB / 2.673 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/5.226, allocations: 112.4 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/5.226, allocations: 11.3 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/5.227, allocations: 16.94 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/5.227, allocations: 21.33 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/5.227, allocations: 3.219 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001019/5.227, allocations: 148.7 kB / 2.674 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001394/5.228, allocations: 291.6 kB / 2.674 GB, free: 154.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001561/5.23, allocations: 1.355 MB / 2.675 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002061/5.23, allocations: 124.1 kB / 2.675 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/5.23, allocations: 3.938 kB / 2.675 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/5.23, allocations: 64.88 kB / 2.675 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/5.231, allocations: 74.86 kB / 2.675 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/5.231, allocations: 358.1 kB / 2.676 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/5.232, allocations: 0.8098 MB / 2.677 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.232, allocations: 0 / 2.677 GB, free: 153.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)