Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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 10.0.0-master/package.mo): time 2.047/2.047, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 173.3 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 88.66 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7034/0.7046, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/1.009, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.294/9.303, allocations: 4.408 GB / 5.62 GB, free: 127.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/9.303, allocations: 88.69 kB / 5.62 GB, free: 127.5 MB / 1.151 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.07894/9.382, allocations: 46.75 MB / 5.665 GB, free: 80.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/9.382, allocations: 8 kB / 5.665 GB, free: 80.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/9.382, allocations: 19.97 kB / 5.665 GB, free: 80.09 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/9.382, allocations: 167 kB / 5.666 GB, free: 79.89 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/9.383, allocations: 25.7 kB / 5.666 GB, free: 79.86 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/9.383, allocations: 3.938 kB / 5.666 GB, free: 79.85 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.431e-05/9.383, allocations: 19.98 kB / 5.666 GB, free: 79.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/9.383, allocations: 45.69 kB / 5.666 GB, free: 79.78 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/9.383, allocations: 0 / 5.666 GB, free: 79.78 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/9.383, allocations: 0 / 5.666 GB, free: 79.78 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/9.383, allocations: 7.984 kB / 5.666 GB, free: 79.77 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/9.383, allocations: 237.3 kB / 5.666 GB, free: 79.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/9.383, allocations: 14.58 kB / 5.666 GB, free: 79.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/9.383, allocations: 9.172 kB / 5.666 GB, free: 79.47 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/9.383, allocations: 7.906 kB / 5.666 GB, free: 79.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/9.383, allocations: 42.58 kB / 5.666 GB, free: 79.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/9.383, allocations: 0 / 5.666 GB, free: 79.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/9.383, allocations: 33.7 kB / 5.666 GB, free: 79.37 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/9.383, allocations: 55.34 kB / 5.666 GB, free: 79.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/9.384, allocations: 100.9 kB / 5.666 GB, free: 79.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/9.384, allocations: 29.73 kB / 5.666 GB, free: 79.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/9.384, allocations: 91.94 kB / 5.666 GB, free: 79.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/9.384, allocations: 0 / 5.666 GB, free: 79.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/9.384, allocations: 0 / 5.666 GB, free: 79.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/9.384, allocations: 318.8 kB / 5.667 GB, free: 78.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/9.384, allocations: 0 / 5.667 GB, free: 78.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/9.384, allocations: 26.58 kB / 5.667 GB, free: 78.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/9.384, allocations: 11.98 kB / 5.667 GB, free: 78.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/9.384, allocations: 0 / 5.667 GB, free: 78.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.561e-05/9.384, allocations: 53.53 kB / 5.667 GB, free: 78.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/9.384, allocations: 8 kB / 5.667 GB, free: 78.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/9.384, allocations: 0 / 5.667 GB, free: 78.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/9.384, allocations: 0 / 5.667 GB, free: 78.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/9.384, allocations: 8 kB / 5.667 GB, free: 78.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/9.384, allocations: 0 / 5.667 GB, free: 78.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/9.384, allocations: 4.094 kB / 5.667 GB, free: 78.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/9.384, allocations: 4 kB / 5.667 GB, free: 78.62 MB / 1.151 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.007e-05/9.384, allocations: 104.9 kB / 5.667 GB, free: 78.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/9.384, allocations: 3.938 kB / 5.667 GB, free: 78.51 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/9.384, allocations: 15.09 kB / 5.667 GB, free: 78.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/9.384, allocations: 3.984 kB / 5.667 GB, free: 78.49 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/9.384, allocations: 0 / 5.667 GB, free: 78.49 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/9.384, allocations: 0 / 5.667 GB, free: 78.49 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/9.384, allocations: 323.3 kB / 5.667 GB, free: 78.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/9.384, allocations: 256 / 5.667 GB, free: 78.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/9.384, allocations: 0 / 5.667 GB, free: 78.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/9.384, allocations: 4 kB / 5.667 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/9.384, allocations: 4 kB / 5.667 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/9.384, allocations: 0 / 5.667 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/9.384, allocations: 0 / 5.667 GB, free: 78.12 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.75e-05/9.384, allocations: 69 kB / 5.667 GB, free: 78.04 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001462/9.385, allocations: 449.5 kB / 5.668 GB, free: 77.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/9.385, allocations: 81.09 kB / 5.668 GB, free: 77.48 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/9.385, allocations: 4 kB / 5.668 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/9.385, allocations: 0 / 5.668 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/9.385, allocations: 11.97 kB / 5.668 GB, free: 77.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/9.385, allocations: 3.938 kB / 5.668 GB, free: 77.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.494e-05/9.385, allocations: 83.28 kB / 5.668 GB, free: 77.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008353/9.386, allocations: 79.98 kB / 5.668 GB, free: 77.3 MB / 1.151 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.0005872/9.386, allocations: 0.6709 MB / 5.668 GB, free: 76.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/9.386, allocations: 15.92 kB / 5.668 GB, free: 76.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/9.386, allocations: 0 / 5.668 GB, free: 76.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/9.386, allocations: 4 kB / 5.668 GB, free: 76.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/9.386, allocations: 4 kB / 5.668 GB, free: 76.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/9.387, allocations: 51.92 kB / 5.669 GB, free: 76.53 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/9.387, allocations: 0.688 MB / 5.669 GB, free: 75.81 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/9.387, allocations: 256 / 5.669 GB, free: 75.81 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat