Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.936/1.936, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00121/0.00121, allocations: 177.3 kB / 487 MB, free: 5.383 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.3/1.3, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009875/0.0009877, allocations: 101.3 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5498/0.5508, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.8117, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.708, allocations: 388.3 MB / 1.585 GB, free: 2.945 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.709, allocations: 66.72 kB / 1.585 GB, free: 2.914 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.02871/1.737, allocations: 13.28 MB / 1.598 GB, free: 8.508 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/1.737, allocations: 8 kB / 1.598 GB, free: 8.5 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/1.737, allocations: 0 / 1.598 GB, free: 8.5 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.737, allocations: 167 kB / 1.598 GB, free: 8.297 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/1.738, allocations: 29.7 kB / 1.598 GB, free: 8.262 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/1.738, allocations: 0 / 1.598 GB, free: 8.262 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.289e-05/1.738, allocations: 14.69 kB / 1.598 GB, free: 8.25 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/1.738, allocations: 41.25 kB / 1.598 GB, free: 8.207 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.738, allocations: 3.938 kB / 1.598 GB, free: 8.203 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/1.738, allocations: 4 kB / 1.598 GB, free: 8.199 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/1.738, allocations: 7.984 kB / 1.598 GB, free: 8.191 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/1.738, allocations: 308.5 kB / 1.598 GB, free: 7.84 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 2.704e-05/1.738, allocations: 14.58 kB / 1.598 GB, free: 7.816 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/1.738, allocations: 8.922 kB / 1.598 GB, free: 7.805 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/1.738, allocations: 85.09 kB / 1.598 GB, free: 7.703 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.738, allocations: 38.06 kB / 1.598 GB, free: 7.66 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.738, allocations: 0 / 1.598 GB, free: 7.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=1): time 0.0001472/1.738, allocations: 41.55 kB / 1.598 GB, free: 7.613 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/1.738, allocations: 51.41 kB / 1.598 GB, free: 7.551 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/1.739, allocations: 96.8 kB / 1.598 GB, free: 7.453 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.739, allocations: 25.7 kB / 1.598 GB, free: 7.422 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/1.739, allocations: 88.05 kB / 1.599 GB, free: 7.332 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/1.739, allocations: 4.031 kB / 1.599 GB, free: 7.328 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/1.739, allocations: 0 / 1.599 GB, free: 7.328 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.739, allocations: 314.8 kB / 1.599 GB, free: 7.012 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/1.739, allocations: 11.48 kB / 1.599 GB, free: 7.004 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/1.739, allocations: 17.66 kB / 1.599 GB, free: 6.98 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/1.739, allocations: 4 kB / 1.599 GB, free: 6.977 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/1.739, allocations: 0 / 1.599 GB, free: 6.977 MB / 1.026 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001802/1.739, allocations: 53.31 kB / 1.599 GB, free: 6.922 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.739, allocations: 11.98 kB / 1.599 GB, free: 6.91 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/1.739, allocations: 0 / 1.599 GB, free: 6.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/1.739, allocations: 0 / 1.599 GB, free: 6.91 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-05/1.739, allocations: 4 kB / 1.599 GB, free: 6.906 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.739, allocations: 4 kB / 1.599 GB, free: 6.902 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/1.739, allocations: 7.844 kB / 1.599 GB, free: 6.895 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/1.739, allocations: 0 / 1.599 GB, free: 6.895 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.963e-05/1.739, allocations: 106.4 kB / 1.599 GB, free: 6.785 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/1.739, allocations: 4.062 kB / 1.599 GB, free: 6.781 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/1.739, allocations: 129 kB / 1.599 GB, free: 6.648 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/1.74, allocations: 180.2 kB / 1.599 GB, free: 6.465 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/1.74, allocations: 176.3 kB / 1.6 GB, free: 6.285 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.848e-05/1.74, allocations: 184.2 kB / 1.6 GB, free: 6.098 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/1.74, allocations: 385.8 kB / 1.6 GB, free: 5.676 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/1.74, allocations: 101 kB / 1.6 GB, free: 5.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/1.74, allocations: 116.1 kB / 1.6 GB, free: 5.453 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.288e-05/1.74, allocations: 176.3 kB / 1.6 GB, free: 5.273 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/1.74, allocations: 176.3 kB / 1.601 GB, free: 5.094 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.766e-05/1.74, allocations: 184.2 kB / 1.601 GB, free: 4.906 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.267e-05/1.74, allocations: 180.3 kB / 1.601 GB, free: 4.723 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001236/1.74, allocations: 311.3 kB / 1.601 GB, free: 4.398 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002499/1.741, allocations: 0.6771 MB / 1.602 GB, free: 3.699 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/1.741, allocations: 182 kB / 1.602 GB, free: 3.496 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/1.741, allocations: 183.3 kB / 1.602 GB, free: 3.312 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.741, allocations: 109 kB / 1.602 GB, free: 3.199 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/1.741, allocations: 180.2 kB / 1.603 GB, free: 3.016 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/1.741, allocations: 109 kB / 1.603 GB, free: 2.902 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.791e-05/1.741, allocations: 83.22 kB / 1.603 GB, free: 2.824 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008377/1.742, allocations: 19.84 kB / 1.603 GB, free: 2.805 MB / 1.026 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 (0): * Single equations (assignments): 0 * 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.0002126/1.742, allocations: 210.8 kB / 1.603 GB, free: 2.59 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 5.153e-05/1.742, allocations: 15.38 kB / 1.603 GB, free: 2.578 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/1.742, allocations: 0 / 1.603 GB, free: 2.578 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.742, allocations: 0 / 1.603 GB, free: 2.578 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.743, allocations: 0.5291 MB / 1.603 GB, free: 2.051 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/1.743, allocations: 131.2 kB / 1.604 GB, free: 1.898 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/1.743, allocations: 0.688 MB / 1.604 GB, free: 1.184 MB / 1.026 GB Notification: Performance of SimCode: time 2.51e-07/1.743, allocations: 0 / 1.604 GB, free: 1.184 MB / 1.026 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat