Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.938/1.938, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001313/0.001313, allocations: 192.6 kB / 487 MB, free: 5.422 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.341/1.341, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008615, allocations: 94.38 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4735/0.4743, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.6938, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.697/8.391, allocations: 4.407 GB / 5.612 GB, free: 119.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/8.391, allocations: 87.36 kB / 5.613 GB, free: 119.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.08018/8.471, allocations: 46.74 MB / 5.658 GB, free: 72.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/8.471, allocations: 12 kB / 5.658 GB, free: 72.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/8.472, allocations: 23.89 kB / 5.658 GB, free: 72.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/8.472, allocations: 163.1 kB / 5.658 GB, free: 71.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/8.472, allocations: 29.7 kB / 5.658 GB, free: 71.78 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/8.472, allocations: 0 / 5.658 GB, free: 71.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.492e-05/8.472, allocations: 19.98 kB / 5.658 GB, free: 71.76 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.999e-05/8.472, allocations: 45.62 kB / 5.658 GB, free: 71.71 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/8.472, allocations: 0 / 5.658 GB, free: 71.71 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/8.472, allocations: 4 kB / 5.658 GB, free: 71.71 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/8.472, allocations: 3.906 kB / 5.658 GB, free: 71.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/8.472, allocations: 237.5 kB / 5.659 GB, free: 71.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 2.692e-05/8.472, allocations: 26.48 kB / 5.659 GB, free: 71.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/8.472, allocations: 5.172 kB / 5.659 GB, free: 71.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/8.472, allocations: 0 / 5.659 GB, free: 71.39 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/8.472, allocations: 30.56 kB / 5.659 GB, free: 71.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/8.472, allocations: 0 / 5.659 GB, free: 71.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/8.472, allocations: 33.7 kB / 5.659 GB, free: 71.31 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.261e-05/8.472, allocations: 55.41 kB / 5.659 GB, free: 71.25 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/8.472, allocations: 105 kB / 5.659 GB, free: 71.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/8.472, allocations: 25.7 kB / 5.659 GB, free: 71.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/8.473, allocations: 95.95 kB / 5.659 GB, free: 71.01 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/8.473, allocations: 0 / 5.659 GB, free: 71.01 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/8.473, allocations: 0 / 5.659 GB, free: 71.01 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.521e-05/8.473, allocations: 310.8 kB / 5.659 GB, free: 70.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/8.473, allocations: 15.92 kB / 5.659 GB, free: 70.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/8.473, allocations: 22.58 kB / 5.659 GB, free: 70.65 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.728e-05/8.473, allocations: 8 kB / 5.659 GB, free: 70.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/8.473, allocations: 0 / 5.659 GB, free: 70.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.347e-05/8.473, allocations: 57.53 kB / 5.659 GB, free: 70.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/8.473, allocations: 4 kB / 5.659 GB, free: 70.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/8.473, allocations: 0 / 5.659 GB, free: 70.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/8.473, allocations: 4 kB / 5.659 GB, free: 70.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/8.473, allocations: 4.094 kB / 5.659 GB, free: 70.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/8.473, allocations: 7.938 kB / 5.659 GB, free: 70.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/8.473, allocations: 4 kB / 5.659 GB, free: 70.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/8.473, allocations: 3.984 kB / 5.659 GB, free: 70.55 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 4.379e-05/8.473, allocations: 108.9 kB / 5.66 GB, free: 70.44 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/8.473, allocations: 0 / 5.66 GB, free: 70.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/8.473, allocations: 3.156 kB / 5.66 GB, free: 70.44 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/8.473, allocations: 0 / 5.66 GB, free: 70.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/8.473, allocations: 0 / 5.66 GB, free: 70.44 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/8.473, allocations: 7.906 kB / 5.66 GB, free: 70.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/8.473, allocations: 319.6 kB / 5.66 GB, free: 70.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/8.473, allocations: 0 / 5.66 GB, free: 70.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/8.473, allocations: 8 kB / 5.66 GB, free: 70.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/8.473, allocations: 7.922 kB / 5.66 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/8.473, allocations: 0 / 5.66 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/8.473, allocations: 7.844 kB / 5.66 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.473, allocations: 0 / 5.66 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.471e-05/8.473, allocations: 61.17 kB / 5.66 GB, free: 69.97 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001336/8.473, allocations: 453.4 kB / 5.66 GB, free: 69.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/8.473, allocations: 77.11 kB / 5.661 GB, free: 69.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/8.473, allocations: 3.906 kB / 5.661 GB, free: 69.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/8.474, allocations: 8.156 kB / 5.661 GB, free: 69.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/8.474, allocations: 3.984 kB / 5.661 GB, free: 69.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/8.474, allocations: 0 / 5.661 GB, free: 69.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.618e-05/8.474, allocations: 87.27 kB / 5.661 GB, free: 69.31 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000857/8.474, allocations: 83.92 kB / 5.661 GB, free: 69.23 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.000585/8.475, allocations: 0.6676 MB / 5.661 GB, free: 68.56 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.578e-05/8.475, allocations: 8 kB / 5.661 GB, free: 68.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/8.475, allocations: 0 / 5.661 GB, free: 68.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-06/8.475, allocations: 4 kB / 5.661 GB, free: 68.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/8.475, allocations: 4 kB / 5.661 GB, free: 68.55 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/8.475, allocations: 59.8 kB / 5.661 GB, free: 68.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/8.476, allocations: 0.6921 MB / 5.662 GB, free: 67.75 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/8.476, allocations: 0 / 5.662 GB, free: 67.75 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat