Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.8289/0.8289, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.1 MB / 399.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 84.12 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3912/0.3924, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.5845, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.574/6.158, allocations: 2.185 GB / 2.806 GB, free: 26.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/6.159, allocations: 93.53 kB / 2.806 GB, free: 26.38 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 1.797/7.955, allocations: 435.8 MB / 3.232 GB, free: 85.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/7.956, allocations: 10.95 kB / 3.232 GB, free: 85.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/7.957, allocations: 167.3 kB / 3.232 GB, free: 85.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/7.958, allocations: 413.5 kB / 3.233 GB, free: 85.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/7.958, allocations: 12 kB / 3.233 GB, free: 85.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/7.958, allocations: 24 kB / 3.233 GB, free: 85.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005423/7.958, allocations: 313.5 kB / 3.233 GB, free: 85.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/7.959, allocations: 314.1 kB / 3.233 GB, free: 84.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/7.959, allocations: 0 / 3.233 GB, free: 84.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/7.959, allocations: 0 / 3.233 GB, free: 84.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/7.959, allocations: 12 kB / 3.233 GB, free: 84.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/7.961, allocations: 1.322 MB / 3.234 GB, free: 83.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/7.961, allocations: 285.5 kB / 3.235 GB, free: 83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/7.961, allocations: 145.4 kB / 3.235 GB, free: 82.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/7.962, allocations: 308.5 kB / 3.235 GB, free: 82.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/7.962, allocations: 38.55 kB / 3.235 GB, free: 82.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/7.962, allocations: 0 / 3.235 GB, free: 82.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.001174/7.963, allocations: 0.4959 MB / 3.236 GB, free: 81.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/7.963, allocations: 59.41 kB / 3.236 GB, free: 81.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/7.963, allocations: 211.5 kB / 3.236 GB, free: 81.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/7.963, allocations: 33.64 kB / 3.236 GB, free: 81.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/7.963, allocations: 180.5 kB / 3.236 GB, free: 81.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/7.963, allocations: 106.3 kB / 3.236 GB, free: 81.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/7.963, allocations: 8 kB / 3.236 GB, free: 81.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/7.964, allocations: 342.8 kB / 3.237 GB, free: 81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/7.964, allocations: 123.7 kB / 3.237 GB, free: 80.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/7.964, allocations: 158.5 kB / 3.237 GB, free: 80.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/7.965, allocations: 300 kB / 3.237 GB, free: 80.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/7.965, allocations: 0 / 3.237 GB, free: 80.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009956/7.966, allocations: 0.516 MB / 3.238 GB, free: 79.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/7.966, allocations: 4 kB / 3.238 GB, free: 79.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/7.966, allocations: 0 / 3.238 GB, free: 79.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/7.966, allocations: 4 kB / 3.238 GB, free: 79.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/7.966, allocations: 75.81 kB / 3.238 GB, free: 79.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/7.966, allocations: 7.938 kB / 3.238 GB, free: 79.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/7.966, allocations: 39.81 kB / 3.238 GB, free: 79.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/7.967, allocations: 16 kB / 3.238 GB, free: 79.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 9.372e-05/7.967, allocations: 108.8 kB / 3.238 GB, free: 79.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/7.967, allocations: 32.5 kB / 3.238 GB, free: 79.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/7.968, allocations: 0.5237 MB / 3.238 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/7.968, allocations: 4 kB / 3.238 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/7.968, allocations: 0 / 3.238 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/7.968, allocations: 15.94 kB / 3.238 GB, free: 79.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/7.97, allocations: 1.057 MB / 3.239 GB, free: 77.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/7.97, allocations: 8.188 kB / 3.239 GB, free: 77.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/7.97, allocations: 59.91 kB / 3.24 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/7.97, allocations: 9.109 kB / 3.24 GB, free: 77.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/7.97, allocations: 12 kB / 3.24 GB, free: 77.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/7.97, allocations: 7.984 kB / 3.24 GB, free: 77.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/7.97, allocations: 3.938 kB / 3.24 GB, free: 77.85 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001253/7.971, allocations: 0.8739 MB / 3.24 GB, free: 76.9 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001926/7.973, allocations: 1.483 MB / 3.242 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/7.973, allocations: 124.6 kB / 3.242 GB, free: 75.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/7.973, allocations: 4 kB / 3.242 GB, free: 75.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/7.974, allocations: 15.98 kB / 3.242 GB, free: 75.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/7.974, allocations: 27.97 kB / 3.242 GB, free: 75.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/7.974, allocations: 11.98 kB / 3.242 GB, free: 75.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001448/7.974, allocations: 167.8 kB / 3.242 GB, free: 74.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001831/7.976, allocations: 427.6 kB / 3.243 GB, free: 74.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.003065/7.979, allocations: 1.768 MB / 3.244 GB, free: 72.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008092/7.98, allocations: 353 kB / 3.245 GB, free: 72.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.98, allocations: 0 / 3.245 GB, free: 72.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/7.98, allocations: 167.8 kB / 3.245 GB, free: 72.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/7.981, allocations: 112.5 kB / 3.245 GB, free: 72.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/7.982, allocations: 0.7643 MB / 3.246 GB, free: 71.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/7.983, allocations: 0.8967 MB / 3.247 GB, free: 70.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.382e-06/7.983, allocations: 0 / 3.247 GB, free: 70.52 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)