Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00471/0.00471, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7174/0.7174, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 113.3 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4143/0.4156, allocations: 88.41 MB / 0.5529 GB, free: 89.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.5866, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.794/4.381, allocations: 1.673 GB / 2.307 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/4.381, allocations: 75.95 kB / 2.307 GB, free: 6.82 MB / 0.6823 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.4954/4.876, allocations: 37.07 MB / 2.343 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/4.876, allocations: 8.688 kB / 2.343 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/4.877, allocations: 30.03 kB / 2.343 GB, free: 252.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/4.877, allocations: 170.1 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/4.877, allocations: 25.7 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/4.877, allocations: 2.875 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/4.877, allocations: 16.05 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/4.877, allocations: 44.81 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/4.877, allocations: 3.906 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/4.877, allocations: 3.938 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/4.877, allocations: 6.719 kB / 2.343 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/4.878, allocations: 329.9 kB / 2.344 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/4.878, allocations: 21.42 kB / 2.344 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/4.878, allocations: 4.859 kB / 2.344 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/4.878, allocations: 6.969 kB / 2.344 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/4.878, allocations: 34.56 kB / 2.344 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/4.878, allocations: 0 / 2.344 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002412/4.878, allocations: 37.91 kB / 2.344 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/4.878, allocations: 55.34 kB / 2.344 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/4.878, allocations: 99.11 kB / 2.344 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/4.878, allocations: 28.55 kB / 2.344 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/4.879, allocations: 99.92 kB / 2.344 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/4.879, allocations: 0 / 2.344 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/4.879, allocations: 2.375 kB / 2.344 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.235e-05/4.879, allocations: 314.8 kB / 2.344 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/4.879, allocations: 2.844 kB / 2.344 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/4.879, allocations: 24.14 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/4.879, allocations: 10.53 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/4.879, allocations: 3 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.396e-05/4.879, allocations: 49.31 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/4.879, allocations: 5.25 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/4.879, allocations: 2.781 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/4.879, allocations: 0 / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/4.879, allocations: 5.375 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/4.879, allocations: 10.61 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/4.879, allocations: 8 kB / 2.344 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/4.879, allocations: 2.812 kB / 2.344 GB, free: 251.1 MB / 0.6823 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 7.505e-05/4.879, allocations: 104.9 kB / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/4.879, allocations: 6.641 kB / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/4.879, allocations: 3.156 kB / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/4.879, allocations: 3.906 kB / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/4.879, allocations: 2.594 kB / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/4.879, allocations: 0 / 2.344 GB, free: 251 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/4.879, allocations: 325.1 kB / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/4.879, allocations: 3.156 kB / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/4.879, allocations: 3.984 kB / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/4.879, allocations: 3.906 kB / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/4.879, allocations: 0 / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/4.879, allocations: 0 / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/4.879, allocations: 3.094 kB / 2.345 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.072e-05/4.88, allocations: 63.2 kB / 2.345 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002057/4.88, allocations: 451.2 kB / 2.345 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/4.88, allocations: 81.02 kB / 2.345 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/4.88, allocations: 3.031 kB / 2.345 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/4.88, allocations: 6.984 kB / 2.345 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/4.88, allocations: 4.062 kB / 2.345 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/4.88, allocations: 256 / 2.345 GB, free: 250 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.402e-05/4.88, allocations: 89.28 kB / 2.345 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009452/4.881, allocations: 75.02 kB / 2.346 GB, free: 249.8 MB / 0.6823 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.0008863/4.882, allocations: 0.6472 MB / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/4.882, allocations: 16.39 kB / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/4.882, allocations: 2.656 kB / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/4.882, allocations: 0 / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/4.882, allocations: 11.06 kB / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/4.882, allocations: 59.89 kB / 2.346 GB, free: 249.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/4.883, allocations: 0.6931 MB / 2.347 GB, free: 248.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/4.883, allocations: 0 / 2.347 GB, free: 248.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)