Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 192.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 0.6256 GB, free: 5.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008965/0.0008963, allocations: 87.41 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3137/0.3147, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/1.052, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.862/5.914, allocations: 2.109 GB / 3.082 GB, free: 352.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/5.914, allocations: 89.97 kB / 3.082 GB, free: 352.6 MB / 0.948 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.432/7.347, allocations: 439.3 MB / 3.511 GB, free: 235.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.123e-05/7.347, allocations: 12.19 kB / 3.511 GB, free: 235.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/7.348, allocations: 161.5 kB / 3.511 GB, free: 235.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/7.351, allocations: 0.6818 MB / 3.511 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/7.351, allocations: 10.66 kB / 3.511 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/7.351, allocations: 23.66 kB / 3.511 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006894/7.352, allocations: 258.5 kB / 3.512 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/7.353, allocations: 362.9 kB / 3.512 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/7.353, allocations: 1.406 kB / 3.512 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/7.353, allocations: 3.906 kB / 3.512 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/7.353, allocations: 10.5 kB / 3.512 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/7.355, allocations: 1.939 MB / 3.514 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/7.356, allocations: 183.1 kB / 3.514 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/7.356, allocations: 121.2 kB / 3.514 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/7.357, allocations: 311.8 kB / 3.515 GB, free: 233.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/7.357, allocations: 39.38 kB / 3.515 GB, free: 233.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/7.357, allocations: 4.344 kB / 3.515 GB, free: 233.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.001353/7.358, allocations: 412.9 kB / 3.515 GB, free: 233.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/7.358, allocations: 55.34 kB / 3.515 GB, free: 233.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/7.358, allocations: 227.6 kB / 3.515 GB, free: 233 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/7.358, allocations: 29.48 kB / 3.515 GB, free: 233 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/7.359, allocations: 197.2 kB / 3.515 GB, free: 232.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/7.359, allocations: 83.88 kB / 3.516 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/7.359, allocations: 0 / 3.516 GB, free: 232.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/7.359, allocations: 342.1 kB / 3.516 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/7.359, allocations: 85 kB / 3.516 GB, free: 232.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/7.359, allocations: 177.2 kB / 3.516 GB, free: 232.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/7.36, allocations: 230.5 kB / 3.516 GB, free: 232.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/7.36, allocations: 0 / 3.516 GB, free: 232.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007174/7.36, allocations: 413.1 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/7.36, allocations: 3.875 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/7.36, allocations: 7.859 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/7.36, allocations: 3.938 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/7.361, allocations: 59.09 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/7.361, allocations: 9.922 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/7.361, allocations: 39 kB / 3.517 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/7.361, allocations: 14.22 kB / 3.517 GB, free: 232.4 MB / 0.948 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 (31): * Single equations (assignments): 31 * 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.259e-05/7.361, allocations: 115.4 kB / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/7.361, allocations: 37.53 kB / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/7.362, allocations: 423.5 kB / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.362, allocations: 4.875 kB / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/7.362, allocations: 0 / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/7.362, allocations: 1.125 kB / 3.517 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/7.363, allocations: 0.9375 MB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/7.363, allocations: 3.594 kB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/7.364, allocations: 57.62 kB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/7.364, allocations: 3.938 kB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/7.364, allocations: 3.906 kB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/7.364, allocations: 0 / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/7.364, allocations: 3.281 kB / 3.518 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001019/7.365, allocations: 0.7421 MB / 3.519 GB, free: 231.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001632/7.367, allocations: 1.344 MB / 3.52 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/7.367, allocations: 131 kB / 3.521 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/7.367, allocations: 3.656 kB / 3.521 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/7.367, allocations: 25.66 kB / 3.521 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/7.367, allocations: 26.12 kB / 3.521 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/7.367, allocations: 7.5 kB / 3.521 GB, free: 230.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001543/7.367, allocations: 182.1 kB / 3.521 GB, free: 230.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001848/7.369, allocations: 407.7 kB / 3.521 GB, free: 230.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0026/7.372, allocations: 1.714 MB / 3.523 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004098/7.372, allocations: 226.7 kB / 3.523 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/7.372, allocations: 3.969 kB / 3.523 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/7.372, allocations: 132.7 kB / 3.523 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/7.373, allocations: 110.6 kB / 3.523 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/7.374, allocations: 0.5701 MB / 3.524 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/7.375, allocations: 0.8754 MB / 3.525 GB, free: 229.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/7.375, allocations: 0 / 3.525 GB, free: 229.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)