Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.048/2.048, allocations: 253.1 MB / 260.4 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.0023, allocations: 185.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 89.94 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.804e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.077, allocations: 345 MB / 1.225 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.077, allocations: 75.02 kB / 1.225 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.03167/1.109, allocations: 7.756 MB / 1.233 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.109, allocations: 0 / 1.233 GB, free: 2.562 MB / 0.8386 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.0003871/1.109, allocations: 346 kB / 1.233 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.109, allocations: 12.03 kB / 1.233 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/1.11, allocations: 11.98 kB / 1.233 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.11, allocations: 159.1 kB / 1.233 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.11, allocations: 11.84 kB / 1.233 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/1.11, allocations: 11.48 kB / 1.233 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.541e-05/1.11, allocations: 4 kB / 1.233 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.11, allocations: 60.02 kB / 1.233 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.11, allocations: 0 / 1.233 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.11, allocations: 7.984 kB / 1.233 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.11, allocations: 0 / 1.233 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/1.111, allocations: 437.6 kB / 1.234 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/1.111, allocations: 62.23 kB / 1.234 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/1.111, allocations: 22.64 kB / 1.234 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/1.111, allocations: 0 / 1.234 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.111, allocations: 41.72 kB / 1.234 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/1.111, allocations: 0 / 1.234 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007611/1.112, allocations: 276.4 kB / 1.234 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.112, allocations: 106.8 kB / 1.234 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/1.112, allocations: 96.72 kB / 1.234 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/1.112, allocations: 29.7 kB / 1.234 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/1.112, allocations: 80.14 kB / 1.234 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/1.112, allocations: 34.73 kB / 1.234 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.112, allocations: 0 / 1.234 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.112, allocations: 318.9 kB / 1.235 GB, free: 236 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/1.112, allocations: 11.69 kB / 1.235 GB, free: 228 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/1.112, allocations: 45.03 kB / 1.235 GB, free: 168 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/1.112, allocations: 26.67 kB / 1.235 GB, free: 148 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.112, allocations: 0 / 1.235 GB, free: 148 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001874/1.113, allocations: 81.75 kB / 1.235 GB, free: 68 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.113, allocations: 4 kB / 1.235 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.113, allocations: 7.984 kB / 1.235 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.113, allocations: 0 / 1.235 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.113, allocations: 16 kB / 1.235 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.113, allocations: 7.938 kB / 1.235 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/1.113, allocations: 4.031 kB / 1.235 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.113, allocations: 8 kB / 1.235 GB, free: 20 kB / 0.8386 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 0.0001035/1.113, allocations: 105 kB / 1.235 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.113, allocations: 3.984 kB / 1.235 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/1.113, allocations: 15.16 kB / 1.235 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.113, allocations: 4.406 kB / 1.235 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.113, allocations: 0 / 1.235 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.113, allocations: 4 kB / 1.235 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/1.114, allocations: 149.8 kB / 1.235 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.114, allocations: 4 kB / 1.235 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.114, allocations: 16 kB / 1.235 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.114, allocations: 3.938 kB / 1.235 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/1.114, allocations: 16.03 kB / 1.235 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.114, allocations: 0 / 1.235 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.114, allocations: 3.906 kB / 1.235 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002989/1.114, allocations: 343.8 kB / 1.236 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/1.115, allocations: 85.09 kB / 1.236 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/1.115, allocations: 7.906 kB / 1.236 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/1.115, allocations: 0 / 1.236 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/1.115, allocations: 4 kB / 1.236 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/1.115, allocations: 11.73 kB / 1.236 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.37e-05/1.115, allocations: 75.28 kB / 1.236 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004792/1.116, allocations: 23.94 kB / 1.236 GB, free: 15.1 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.0001808/1.116, allocations: 99.25 kB / 1.236 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001516/1.116, allocations: 46.42 kB / 1.236 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.116, allocations: 3.938 kB / 1.236 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/1.116, allocations: 19.69 kB / 1.236 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/1.116, allocations: 2.062 kB / 1.236 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/1.117, allocations: 287.2 kB / 1.236 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/1.117, allocations: 0.6958 MB / 1.237 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/1.117, allocations: 4 kB / 1.237 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003969/1.121, allocations: 0.6455 MB / 1.237 GB, free: 13.29 MB / 0.8542 GB