Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 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_latest_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_latest_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 10.0.0-master/package.mo): time 1.953/1.953, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001047/0.001047, allocations: 185.2 kB / 490.8 MB, free: 1.93 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.454/1.454, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.000906/0.0009061, allocations: 95.8 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.605e-06/7.794e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3116, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.379, allocations: 356 MB / 1.559 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.379, allocations: 76.81 kB / 1.559 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.04166/1.421, allocations: 16.37 MB / 1.575 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.268e-05/1.421, allocations: 4 kB / 1.575 GB, free: 12.45 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.0009461/1.422, allocations: 480.2 kB / 1.576 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.422, allocations: 8.031 kB / 1.576 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/1.424, allocations: 196.8 kB / 1.576 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/1.424, allocations: 208.3 kB / 1.576 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/1.424, allocations: 15.89 kB / 1.576 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/1.424, allocations: 8 kB / 1.576 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004597/1.425, allocations: 198 kB / 1.576 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/1.425, allocations: 238.2 kB / 1.577 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.425, allocations: 0 / 1.577 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/1.425, allocations: 4 kB / 1.577 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/1.425, allocations: 4 kB / 1.577 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/1.427, allocations: 1.358 MB / 1.578 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/1.428, allocations: 145.9 kB / 1.578 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/1.428, allocations: 57.47 kB / 1.578 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/1.428, allocations: 0 / 1.578 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.428, allocations: 42.19 kB / 1.578 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/1.428, allocations: 0 / 1.578 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0003765/1.428, allocations: 140.8 kB / 1.578 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/1.428, allocations: 55.41 kB / 1.578 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.428, allocations: 123.8 kB / 1.578 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/1.428, allocations: 25.7 kB / 1.579 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/1.428, allocations: 130.8 kB / 1.579 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/1.429, allocations: 53.92 kB / 1.579 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/1.429, allocations: 4 kB / 1.579 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.429, allocations: 325.4 kB / 1.579 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/1.429, allocations: 50.08 kB / 1.579 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/1.429, allocations: 123.6 kB / 1.579 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/1.429, allocations: 53.66 kB / 1.579 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.429, allocations: 0 / 1.579 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003486/1.429, allocations: 200.2 kB / 1.579 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.43, allocations: 4 kB / 1.579 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.43, allocations: 4 kB / 1.579 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.43, allocations: 4 kB / 1.579 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.43, allocations: 71.38 kB / 1.579 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.43, allocations: 7.938 kB / 1.579 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/1.43, allocations: 39.89 kB / 1.58 GB, free: 8.191 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/1.43, allocations: 8 kB / 1.58 GB, free: 8.184 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 0.0001141/1.43, allocations: 112.7 kB / 1.58 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/1.431, allocations: 15.81 kB / 1.58 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.431, allocations: 180.6 kB / 1.58 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.431, allocations: 11.98 kB / 1.58 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.431, allocations: 4 kB / 1.58 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.431, allocations: 0 / 1.58 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/1.431, allocations: 212.6 kB / 1.58 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/1.431, allocations: 0 / 1.58 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/1.432, allocations: 51.22 kB / 1.58 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.432, allocations: 4 kB / 1.58 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.432, allocations: 3.984 kB / 1.58 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.432, allocations: 0 / 1.58 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.432, allocations: 7.906 kB / 1.58 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000306/1.432, allocations: 248.2 kB / 1.58 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.432, allocations: 103.6 kB / 1.58 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/1.432, allocations: 0 / 1.58 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.433, allocations: 23.92 kB / 1.58 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/1.433, allocations: 19.31 kB / 1.58 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/1.433, allocations: 7.938 kB / 1.58 GB, free: 7.219 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.85e-05/1.433, allocations: 105.1 kB / 1.581 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004105/1.433, allocations: 56.12 kB / 1.581 GB, free: 7.07 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 (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.0002693/1.433, allocations: 134.6 kB / 1.581 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002837/1.434, allocations: 138.9 kB / 1.581 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.434, allocations: 0 / 1.581 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.434, allocations: 72.42 kB / 1.581 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/1.434, allocations: 39.81 kB / 1.581 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/1.435, allocations: 211.4 kB / 1.581 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/1.435, allocations: 0.7549 MB / 1.582 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of SimCode: time 3.21e-07/1.435, allocations: 0 / 1.582 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of Templates: time 0.00793/1.443, allocations: 3.379 MB / 1.585 GB, free: 2.438 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches