Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [: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.919/1.919, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001184/0.001184, allocations: 193.2 kB / 487 MB, free: 5.375 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.395 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.001146/0.001146, allocations: 88.53 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8317/1.07, allocations: 355.2 MB / 1.552 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.07, allocations: 77.56 kB / 1.552 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.04062/1.111, allocations: 16.37 MB / 1.568 GB, free: 5.332 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.111, allocations: 4 kB / 1.568 GB, free: 5.328 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008309/1.112, allocations: 480.5 kB / 1.569 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.112, allocations: 13.03 kB / 1.569 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.114, allocations: 194.9 kB / 1.569 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/1.114, allocations: 208.9 kB / 1.569 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.114, allocations: 8 kB / 1.569 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.114, allocations: 8 kB / 1.569 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004097/1.115, allocations: 199.4 kB / 1.569 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/1.115, allocations: 233.4 kB / 1.569 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.115, allocations: 0 / 1.569 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/1.115, allocations: 0 / 1.569 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.115, allocations: 8 kB / 1.569 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/1.117, allocations: 1.352 MB / 1.571 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/1.117, allocations: 148 kB / 1.571 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.117, allocations: 56.34 kB / 1.571 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.117, allocations: 7.984 kB / 1.571 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.117, allocations: 46.02 kB / 1.571 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/1.117, allocations: 0 / 1.571 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0003407/1.118, allocations: 142.3 kB / 1.571 GB, free: 2.285 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/1.118, allocations: 55.41 kB / 1.571 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.118, allocations: 122.8 kB / 1.571 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/1.118, allocations: 25.7 kB / 1.571 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/1.118, allocations: 131 kB / 1.571 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/1.118, allocations: 58.61 kB / 1.572 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/1.118, allocations: 0 / 1.572 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.118, allocations: 322.7 kB / 1.572 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/1.118, allocations: 54.64 kB / 1.572 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/1.118, allocations: 113.7 kB / 1.572 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/1.118, allocations: 66.62 kB / 1.572 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.118, allocations: 0 / 1.572 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003203/1.119, allocations: 197.6 kB / 1.572 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.119, allocations: 4 kB / 1.572 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.119, allocations: 4.312 kB / 1.572 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.119, allocations: 8 kB / 1.572 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/1.119, allocations: 63.89 kB / 1.572 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.119, allocations: 7.984 kB / 1.572 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/1.119, allocations: 31.69 kB / 1.572 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/1.119, allocations: 15.8 kB / 1.572 GB, free: 1.062 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 9.206e-05/1.12, allocations: 108.9 kB / 1.573 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/1.12, allocations: 19.81 kB / 1.573 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/1.12, allocations: 178.2 kB / 1.573 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.12, allocations: 4 kB / 1.573 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.12, allocations: 3.938 kB / 1.573 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.12, allocations: 3.984 kB / 1.573 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/1.12, allocations: 208.2 kB / 1.573 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.12, allocations: 11.92 kB / 1.573 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/1.121, allocations: 43.97 kB / 1.573 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.121, allocations: 4 kB / 1.573 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.121, allocations: 7.891 kB / 1.573 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.121, allocations: 0 / 1.573 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.121, allocations: 0 / 1.573 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002871/1.121, allocations: 256.8 kB / 1.573 GB, free: 268 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.121, allocations: 112.8 kB / 1.573 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/1.121, allocations: 0 / 1.573 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/1.122, allocations: 23.83 kB / 1.573 GB, free: 116 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/1.122, allocations: 7.984 kB / 1.573 GB, free: 108 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.122, allocations: 11.17 kB / 1.573 GB, free: 100 kB / 0.9948 GB Notification: Performance of sort global known variables: time 6.395e-05/1.122, allocations: 102.2 kB / 1.573 GB, free: 4 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000421/1.122, allocations: 56.17 kB / 1.574 GB, free: 15.95 MB / 1.01 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 (20): * Single equations (assignments): 20 * 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.0002217/1.122, allocations: 131.1 kB / 1.574 GB, free: 15.81 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002734/1.123, allocations: 149.1 kB / 1.574 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.123, allocations: 0 / 1.574 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.123, allocations: 68.73 kB / 1.574 GB, free: 15.65 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/1.123, allocations: 42.73 kB / 1.574 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/1.124, allocations: 214.6 kB / 1.574 GB, free: 15.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/1.124, allocations: 0.7507 MB / 1.575 GB, free: 14.63 MB / 1.01 GB Notification: Performance of SimCode: time 2.4e-07/1.124, allocations: 0 / 1.575 GB, free: 14.63 MB / 1.01 GB Notification: Performance of Templates: time 0.006904/1.131, allocations: 3.377 MB / 1.578 GB, free: 11.29 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches