Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.263/2.263, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 185.2 kB / 360.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001304, allocations: 90.27 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.135e-06, allocations: 0 / 0.8502 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7204, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8909/1.611, allocations: 350.3 MB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.612, allocations: 75.42 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02735/1.639, allocations: 7.749 MB / 1.313 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.071e-06/1.639, allocations: 3.906 kB / 1.313 GB, free: 188.6 MB / 0.8542 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.0003381/1.64, allocations: 344.7 kB / 1.313 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.64, allocations: 12.12 kB / 1.313 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/1.64, allocations: 20.27 kB / 1.313 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/1.64, allocations: 159.1 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.64, allocations: 0 / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/1.64, allocations: 5.359 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.684e-05/1.64, allocations: 20.75 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.64, allocations: 57.14 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.64, allocations: 3.812 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.64, allocations: 0 / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.64, allocations: 4.562 kB / 1.313 GB, free: 188 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/1.641, allocations: 438.6 kB / 1.314 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/1.641, allocations: 53.45 kB / 1.314 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/1.641, allocations: 29.92 kB / 1.314 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/1.641, allocations: 0 / 1.314 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.641, allocations: 34.47 kB / 1.314 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/1.641, allocations: 1.031 kB / 1.314 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006193/1.642, allocations: 291.6 kB / 1.314 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.642, allocations: 102.8 kB / 1.314 GB, free: 187 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/1.642, allocations: 90.69 kB / 1.314 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/1.642, allocations: 25.7 kB / 1.314 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/1.642, allocations: 87.67 kB / 1.314 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/1.642, allocations: 34.17 kB / 1.314 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.642, allocations: 0 / 1.314 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/1.642, allocations: 324.5 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/1.642, allocations: 7.281 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/1.642, allocations: 51.2 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/1.642, allocations: 13.72 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.642, allocations: 4 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/1.642, allocations: 87.5 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.642, allocations: 4.844 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.642, allocations: 1.5 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.642, allocations: 3.969 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.643, allocations: 17.67 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.643, allocations: 6.812 kB / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/1.643, allocations: 0 / 1.315 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/1.643, allocations: 8.031 kB / 1.315 GB, free: 186.4 MB / 0.8542 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 6.021e-05/1.643, allocations: 116.4 kB / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/1.643, allocations: 3.906 kB / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/1.643, allocations: 13.02 kB / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.643, allocations: 0 / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.643, allocations: 3.906 kB / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.643, allocations: 0 / 1.315 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/1.643, allocations: 156.4 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.643, allocations: 5.25 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/1.644, allocations: 14.39 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.644, allocations: 7.906 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.644, allocations: 0 / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.644, allocations: 5.297 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.644, allocations: 3.906 kB / 1.315 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002068/1.644, allocations: 345.7 kB / 1.315 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/1.644, allocations: 83.78 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.644, allocations: 0 / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/1.644, allocations: 6.156 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/1.644, allocations: 6.141 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/1.644, allocations: 7.844 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.796e-05/1.644, allocations: 87.08 kB / 1.316 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004341/1.645, allocations: 7.812 kB / 1.316 GB, free: 185.6 MB / 0.8542 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.0001515/1.645, allocations: 113.9 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001166/1.645, allocations: 34.72 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.645, allocations: 3.906 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/1.645, allocations: 12.62 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/1.645, allocations: 3.906 kB / 1.316 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/1.646, allocations: 284 kB / 1.316 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/1.646, allocations: 0.6977 MB / 1.317 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/1.646, allocations: 0 / 1.317 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.003477/1.65, allocations: 0.6588 MB / 1.317 GB, free: 184.5 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)