Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.0.0/package.mo): time 2.338/2.338, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001714/0.001714, allocations: 189.2 kB / 360.3 MB, free: 7.535 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.955/1.955, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001317/0.001316, allocations: 94.97 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2944/0.2957, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.9519, allocations: 115.2 MB / 0.9627 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.285/6.237, allocations: 2.052 GB / 3.015 GB, free: 275 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/6.237, allocations: 74.83 kB / 3.015 GB, free: 275 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.1197/6.357, allocations: 37.13 MB / 3.052 GB, free: 271 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/6.357, allocations: 11 kB / 3.052 GB, free: 271 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/6.357, allocations: 29.53 kB / 3.052 GB, free: 271 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/6.358, allocations: 162.8 kB / 3.052 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/6.358, allocations: 29.41 kB / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/6.358, allocations: 0 / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/6.358, allocations: 22.84 kB / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/6.358, allocations: 47.67 kB / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/6.358, allocations: 7.688 kB / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/6.358, allocations: 0 / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/6.358, allocations: 0 / 3.052 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/6.359, allocations: 330.8 kB / 3.052 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.985e-05/6.359, allocations: 26.25 kB / 3.052 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/6.359, allocations: 13.39 kB / 3.052 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/6.359, allocations: 0 / 3.052 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/6.359, allocations: 35.16 kB / 3.052 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/6.359, allocations: 0 / 3.052 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002763/6.359, allocations: 36.58 kB / 3.052 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/6.359, allocations: 55.95 kB / 3.052 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/6.359, allocations: 98.3 kB / 3.052 GB, free: 270.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/6.359, allocations: 25.7 kB / 3.052 GB, free: 270 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/6.359, allocations: 100.6 kB / 3.053 GB, free: 270 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/6.359, allocations: 0.6094 kB / 3.053 GB, free: 270 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/6.359, allocations: 3.938 kB / 3.053 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/6.359, allocations: 312 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/6.359, allocations: 7.469 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/6.359, allocations: 23.89 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/6.359, allocations: 12.92 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/6.359, allocations: 3.812 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/6.36, allocations: 43.5 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/6.36, allocations: 8.328 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/6.36, allocations: 0 / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/6.36, allocations: 4.094 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/6.36, allocations: 12.59 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/6.36, allocations: 0 / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/6.36, allocations: 8.812 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/6.36, allocations: 0.6562 kB / 3.053 GB, free: 269.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.417e-05/6.36, allocations: 101 kB / 3.053 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/6.36, allocations: 4.469 kB / 3.053 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/6.36, allocations: 7.844 kB / 3.053 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/6.36, allocations: 3.906 kB / 3.053 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/6.36, allocations: 4 kB / 3.053 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/6.36, allocations: 0.5156 kB / 3.053 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/6.36, allocations: 319.7 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/6.36, allocations: 0.5156 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/6.36, allocations: 3.906 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/6.36, allocations: 4.562 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/6.36, allocations: 1 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/6.36, allocations: 0 / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/6.36, allocations: 0.7031 kB / 3.053 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.299e-05/6.36, allocations: 62.11 kB / 3.053 GB, free: 269 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002662/6.361, allocations: 454 kB / 3.054 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/6.361, allocations: 85.56 kB / 3.054 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/6.361, allocations: 4.625 kB / 3.054 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/6.361, allocations: 6.578 kB / 3.054 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/6.361, allocations: 3.938 kB / 3.054 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/6.361, allocations: 0 / 3.054 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.032e-05/6.361, allocations: 89.09 kB / 3.054 GB, free: 268.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001382/6.363, allocations: 77.2 kB / 3.054 GB, free: 268.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0009097/6.363, allocations: 0.6489 MB / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001085/6.364, allocations: 11.38 kB / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/6.364, allocations: 4.188 kB / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/6.364, allocations: 0 / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/6.364, allocations: 12.78 kB / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/6.364, allocations: 55.31 kB / 3.055 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/6.364, allocations: 0.6873 MB / 3.055 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/6.364, allocations: 0 / 3.055 GB, free: 267.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)