Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7496/0.7496, allocations: 141.8 MB / 149.1 MB, free: 9.84 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 184 kB / 181.9 MB, free: 6.789 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.4 MB / 436 MB, free: 14.88 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 89.08 kB / 0.507 GB, free: 8.047 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 269.3 kB / 0.5884 GB, free: 4.848 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/8.916e-06, allocations: 1.094 kB / 0.6759 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 82.78 MB / 0.7567 GB, free: 113.6 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7447/0.9574, allocations: 321.2 MB / 1.07 GB, free: 6.34 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.9576, allocations: 80.83 kB / 1.07 GB, free: 6.301 MB / 0.6357 GB Notification: Performance of FrontEnd: time 0.01804/0.9757, allocations: 7.932 MB / 1.078 GB, free: 56 kB / 0.6357 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9757, allocations: 0 / 1.078 GB, free: 56 kB / 0.6357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003857/0.9761, allocations: 349.8 kB / 1.079 GB, free: 15.67 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9762, allocations: 8.031 kB / 1.079 GB, free: 15.66 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.9764, allocations: 15.89 kB / 1.079 GB, free: 15.65 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.9766, allocations: 163.1 kB / 1.079 GB, free: 15.45 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.9766, allocations: 3.938 kB / 1.079 GB, free: 15.45 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.9766, allocations: 4 kB / 1.079 GB, free: 15.44 MB / 0.6513 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.365e-05/0.9767, allocations: 11.3 kB / 1.079 GB, free: 15.43 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.9768, allocations: 69.39 kB / 1.079 GB, free: 15.36 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.9768, allocations: 3.938 kB / 1.079 GB, free: 15.35 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.9768, allocations: 3.906 kB / 1.079 GB, free: 15.35 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9768, allocations: 0 / 1.079 GB, free: 15.35 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.9774, allocations: 438 kB / 1.079 GB, free: 14.88 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.9776, allocations: 62.23 kB / 1.079 GB, free: 14.8 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.9776, allocations: 22.64 kB / 1.079 GB, free: 14.77 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.9776, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.9777, allocations: 38.06 kB / 1.079 GB, free: 14.72 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.9777, allocations: 4 kB / 1.079 GB, free: 14.72 MB / 0.6513 GB Notification: Performance of matching and sorting (n=7): time 0.0006106/0.9783, allocations: 280.6 kB / 1.08 GB, free: 14.4 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.9784, allocations: 106.8 kB / 1.08 GB, free: 14.27 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.9784, allocations: 96.69 kB / 1.08 GB, free: 14.18 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.9785, allocations: 25.7 kB / 1.08 GB, free: 14.14 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.9785, allocations: 88.11 kB / 1.08 GB, free: 14.05 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.9785, allocations: 31.2 kB / 1.08 GB, free: 14.03 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.9785, allocations: 0 / 1.08 GB, free: 14.03 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9787, allocations: 318.6 kB / 1.08 GB, free: 13.71 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.9787, allocations: 11.75 kB / 1.08 GB, free: 13.7 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.9788, allocations: 48.45 kB / 1.08 GB, free: 13.64 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.9788, allocations: 19.11 kB / 1.08 GB, free: 13.62 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.9788, allocations: 0 / 1.08 GB, free: 13.62 MB / 0.6513 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001181/0.9789, allocations: 76.38 kB / 1.08 GB, free: 13.55 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.979, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.979, allocations: 4 kB / 1.08 GB, free: 13.54 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.979, allocations: 3.906 kB / 1.08 GB, free: 13.54 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.9791, allocations: 27.55 kB / 1.08 GB, free: 13.52 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9791, allocations: 7.938 kB / 1.08 GB, free: 13.51 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.9792, allocations: 0 / 1.08 GB, free: 13.51 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9792, allocations: 4 kB / 1.08 GB, free: 13.5 MB / 0.6513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.756e-05/0.9792, allocations: 105 kB / 1.081 GB, free: 13.39 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.9793, allocations: 8.375 kB / 1.081 GB, free: 13.39 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.9794, allocations: 11.17 kB / 1.081 GB, free: 13.38 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9794, allocations: 0 / 1.081 GB, free: 13.38 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9794, allocations: 4 kB / 1.081 GB, free: 13.38 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9794, allocations: 7.984 kB / 1.081 GB, free: 13.37 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.9797, allocations: 153.8 kB / 1.081 GB, free: 13.19 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.9797, allocations: 3.906 kB / 1.081 GB, free: 13.18 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.9798, allocations: 12 kB / 1.081 GB, free: 13.17 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.9798, allocations: 7.938 kB / 1.081 GB, free: 13.16 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.9799, allocations: 0 / 1.081 GB, free: 13.16 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9799, allocations: 0 / 1.081 GB, free: 13.16 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9799, allocations: 3.984 kB / 1.081 GB, free: 13.16 MB / 0.6513 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000265/0.9801, allocations: 347.6 kB / 1.081 GB, free: 12.8 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.9802, allocations: 89 kB / 1.081 GB, free: 12.7 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.9802, allocations: 0 / 1.081 GB, free: 12.7 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.9804, allocations: 3.938 kB / 1.081 GB, free: 12.7 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.9805, allocations: 7.375 kB / 1.081 GB, free: 12.69 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.9805, allocations: 4 kB / 1.081 GB, free: 12.69 MB / 0.6513 GB Notification: Performance of sort global known variables: time 5.469e-05/0.9805, allocations: 83.27 kB / 1.081 GB, free: 12.61 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.0003107/0.9809, allocations: 15.94 kB / 1.081 GB, free: 12.59 MB / 0.6513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001985/0.9811, allocations: 107.2 kB / 1.081 GB, free: 12.48 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.9812, allocations: 39 kB / 1.081 GB, free: 12.45 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9812, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.9812, allocations: 23.55 kB / 1.081 GB, free: 12.43 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.9815, allocations: 13.12 kB / 1.081 GB, free: 12.41 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.9821, allocations: 263.7 kB / 1.082 GB, free: 12.13 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.9825, allocations: 0.6997 MB / 1.082 GB, free: 11.41 MB / 0.6513 GB Notification: Performance of SimCode: time 2.51e-07/0.9825, allocations: 0 / 1.082 GB, free: 11.41 MB / 0.6513 GB Notification: Performance of Templates: time 0.003076/0.9855, allocations: 0.6714 MB / 1.083 GB, free: 10.78 MB / 0.6513 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)