Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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.973/1.973, 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.001049/0.001049, allocations: 172.5 kB / 487 MB, free: 5.379 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.313/1.313, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.001011/0.001011, allocations: 101.8 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.62e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.065, allocations: 352 MB / 1.549 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.066, allocations: 73.23 kB / 1.549 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.02107/1.087, allocations: 8.813 MB / 1.558 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.087, allocations: 0 / 1.558 GB, free: 15.3 MB / 0.9948 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.0003232/1.087, allocations: 341.8 kB / 1.558 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.087, allocations: 9.031 kB / 1.558 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/1.087, allocations: 0 / 1.558 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/1.087, allocations: 171 kB / 1.558 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/1.087, allocations: 33.7 kB / 1.558 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/1.087, allocations: 0 / 1.558 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.879e-05/1.088, allocations: 15.69 kB / 1.558 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/1.088, allocations: 37.69 kB / 1.558 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.088, allocations: 0 / 1.558 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.088, allocations: 4 kB / 1.558 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.088, allocations: 3.984 kB / 1.558 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/1.088, allocations: 0.5782 MB / 1.559 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.134e-05/1.088, allocations: 22.33 kB / 1.559 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/1.088, allocations: 8.922 kB / 1.559 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/1.089, allocations: 362.5 kB / 1.559 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/1.089, allocations: 30.56 kB / 1.559 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 2.845e-06/1.089, allocations: 3.984 kB / 1.559 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0002398/1.089, allocations: 49.59 kB / 1.559 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/1.089, allocations: 51.41 kB / 1.559 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/1.089, allocations: 91.81 kB / 1.559 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.089, allocations: 25.7 kB / 1.559 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/1.089, allocations: 95.48 kB / 1.56 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/1.089, allocations: 0 / 1.56 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/1.089, allocations: 0 / 1.56 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/1.089, allocations: 318.7 kB / 1.56 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/1.089, allocations: 4 kB / 1.56 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/1.089, allocations: 21.12 kB / 1.56 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/1.089, allocations: 23.91 kB / 1.56 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.089, allocations: 0 / 1.56 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001801/1.09, allocations: 56.61 kB / 1.56 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.09, allocations: 8 kB / 1.56 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.09, allocations: 3.938 kB / 1.56 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.09, allocations: 4.062 kB / 1.56 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/1.09, allocations: 4 kB / 1.56 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/1.09, allocations: 0 / 1.56 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/1.09, allocations: 7.906 kB / 1.56 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/1.09, allocations: 3.938 kB / 1.56 GB, free: 12.63 MB / 0.9948 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.734e-05/1.09, allocations: 108.9 kB / 1.56 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/1.09, allocations: 4 kB / 1.56 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/1.09, allocations: 123.8 kB / 1.56 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/1.09, allocations: 180.2 kB / 1.56 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.157e-05/1.09, allocations: 184.2 kB / 1.561 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/1.09, allocations: 176.3 kB / 1.561 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/1.09, allocations: 385.1 kB / 1.561 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/1.09, allocations: 104.9 kB / 1.561 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/1.09, allocations: 109 kB / 1.561 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.542e-05/1.091, allocations: 176.3 kB / 1.561 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/1.091, allocations: 180.2 kB / 1.562 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.759e-05/1.091, allocations: 183.5 kB / 1.562 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-05/1.091, allocations: 184.2 kB / 1.562 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/1.091, allocations: 311.3 kB / 1.562 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/1.091, allocations: 187.4 kB / 1.562 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/1.091, allocations: 180.2 kB / 1.563 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/1.091, allocations: 108.9 kB / 1.563 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.091, allocations: 184.2 kB / 1.563 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/1.091, allocations: 112.9 kB / 1.563 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.047e-05/1.091, allocations: 82.47 kB / 1.563 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002655/1.092, allocations: 35.88 kB / 1.563 GB, free: 9.227 MB / 0.9948 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.0003028/1.092, allocations: 232.5 kB / 1.563 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.656e-05/1.092, allocations: 4 kB / 1.563 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.092, allocations: 0 / 1.563 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/1.092, allocations: 7.922 kB / 1.563 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.092, allocations: 0.5293 MB / 1.564 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/1.092, allocations: 119.5 kB / 1.564 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/1.093, allocations: 0.6912 MB / 1.565 GB, free: 7.598 MB / 0.9948 GB Notification: Performance of SimCode: time 2.5e-07/1.093, allocations: 0 / 1.565 GB, free: 7.598 MB / 0.9948 GB Notification: Performance of Templates: time 0.003485/1.096, allocations: 1.101 MB / 1.566 GB, free: 6.543 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches