Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7684/0.7684, allocations: 127.4 MB / 134.7 MB, free: 9.754 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 186.5 kB / 164.4 MB, free: 5.434 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 399.1 MB, free: 2.941 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009952/0.0009952, allocations: 87.72 kB / 476.3 MB, free: 11.69 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.2247, allocations: 82.9 MB / 0.5461 GB, free: 8.809 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.8272, allocations: 76.74 MB / 0.621 GB, free: 58.88 MB / 466.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.488/6.315, allocations: 2.137 GB / 2.758 GB, free: 62.44 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/6.316, allocations: 83.95 kB / 2.758 GB, free: 62.36 MB / 0.6433 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 0.9775/7.293, allocations: 296.2 MB / 3.047 GB, free: 22.68 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/7.293, allocations: 12 kB / 3.047 GB, free: 22.66 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/7.294, allocations: 67.48 kB / 3.047 GB, free: 22.6 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/7.294, allocations: 333.9 kB / 3.047 GB, free: 22.23 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/7.294, allocations: 8 kB / 3.047 GB, free: 22.23 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/7.294, allocations: 16 kB / 3.047 GB, free: 22.21 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003517/7.295, allocations: 173.3 kB / 3.048 GB, free: 22.04 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/7.295, allocations: 204.8 kB / 3.048 GB, free: 21.84 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/7.295, allocations: 0 / 3.048 GB, free: 21.84 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/7.295, allocations: 4 kB / 3.048 GB, free: 21.84 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/7.295, allocations: 4 kB / 3.048 GB, free: 21.83 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/7.297, allocations: 0.9205 MB / 3.049 GB, free: 20.84 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/7.297, allocations: 162.7 kB / 3.049 GB, free: 20.68 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/7.297, allocations: 80.84 kB / 3.049 GB, free: 20.59 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/7.298, allocations: 303.3 kB / 3.049 GB, free: 20.24 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/7.298, allocations: 38.55 kB / 3.049 GB, free: 20.2 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=18): time 2.053e-06/7.298, allocations: 3.938 kB / 3.049 GB, free: 20.19 MB / 0.6433 GB Notification: Performance of matching and sorting (n=18): time 0.0008842/7.299, allocations: 271.2 kB / 3.049 GB, free: 19.92 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/7.299, allocations: 51.41 kB / 3.049 GB, free: 19.86 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/7.299, allocations: 176.1 kB / 3.05 GB, free: 19.68 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/7.299, allocations: 25.7 kB / 3.05 GB, free: 19.65 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/7.299, allocations: 160.1 kB / 3.05 GB, free: 19.49 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/7.299, allocations: 63.02 kB / 3.05 GB, free: 19.43 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/7.299, allocations: 0 / 3.05 GB, free: 19.43 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 0.0001155/7.299, allocations: 338.8 kB / 3.05 GB, free: 19.09 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/7.299, allocations: 56.61 kB / 3.05 GB, free: 19.03 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/7.3, allocations: 86.52 kB / 3.05 GB, free: 18.94 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/7.3, allocations: 122.8 kB / 3.05 GB, free: 18.82 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/7.3, allocations: 4 kB / 3.05 GB, free: 18.82 MB / 0.6433 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004479/7.3, allocations: 245.2 kB / 3.051 GB, free: 18.57 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/7.3, allocations: 8 kB / 3.051 GB, free: 18.56 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/7.3, allocations: 0 / 3.051 GB, free: 18.56 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/7.3, allocations: 0 / 3.051 GB, free: 18.56 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/7.301, allocations: 39.92 kB / 3.051 GB, free: 18.52 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/7.301, allocations: 7.969 kB / 3.051 GB, free: 18.52 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/7.301, allocations: 31.83 kB / 3.051 GB, free: 18.48 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/7.301, allocations: 8 kB / 3.051 GB, free: 18.48 MB / 0.6433 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.847e-05/7.301, allocations: 105 kB / 3.051 GB, free: 18.37 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/7.301, allocations: 23.75 kB / 3.051 GB, free: 18.34 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005565/7.302, allocations: 276.2 kB / 3.051 GB, free: 18.07 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/7.302, allocations: 4 kB / 3.051 GB, free: 18.06 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/7.302, allocations: 0 / 3.051 GB, free: 18.06 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/7.302, allocations: 0 / 3.051 GB, free: 18.06 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/7.303, allocations: 0.7065 MB / 3.052 GB, free: 17.29 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/7.303, allocations: 4 kB / 3.052 GB, free: 17.29 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/7.303, allocations: 39.92 kB / 3.052 GB, free: 17.25 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/7.303, allocations: 0 / 3.052 GB, free: 17.25 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/7.303, allocations: 4 kB / 3.052 GB, free: 17.25 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/7.303, allocations: 4.188 kB / 3.052 GB, free: 17.24 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/7.303, allocations: 4 kB / 3.052 GB, free: 17.24 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009096/7.304, allocations: 0.5381 MB / 3.052 GB, free: 16.63 MB / 0.6433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001139/7.305, allocations: 1.052 MB / 3.053 GB, free: 15.5 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/7.305, allocations: 105.1 kB / 3.054 GB, free: 15.38 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/7.305, allocations: 4 kB / 3.054 GB, free: 15.38 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/7.305, allocations: 20.05 kB / 3.054 GB, free: 15.36 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/7.306, allocations: 19.89 kB / 3.054 GB, free: 15.34 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/7.306, allocations: 8 kB / 3.054 GB, free: 15.33 MB / 0.6433 GB Notification: Performance of sort global known variables: time 0.0001039/7.306, allocations: 140.5 kB / 3.054 GB, free: 15.2 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.001739/7.307, allocations: 299.7 kB / 3.054 GB, free: 14.9 MB / 0.6433 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.002112/7.31, allocations: 1.367 MB / 3.055 GB, free: 13.5 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.0003472/7.31, allocations: 155.5 kB / 3.056 GB, free: 13.35 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/7.31, allocations: 0 / 3.056 GB, free: 13.35 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/7.31, allocations: 83.91 kB / 3.056 GB, free: 13.27 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/7.311, allocations: 78.88 kB / 3.056 GB, free: 13.19 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/7.312, allocations: 487.5 kB / 3.056 GB, free: 12.67 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/7.312, allocations: 0.8248 MB / 3.057 GB, free: 11.82 MB / 0.6433 GB Notification: Performance of SimCode: time 4.41e-07/7.312, allocations: 0 / 3.057 GB, free: 11.82 MB / 0.6433 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)