Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.554/2.554, allocations: 248.6 MB / 255.9 MB, free: 7.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 186.5 kB / 315.1 MB, free: 8.594 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.1 MB / 0.5658 GB, free: 4.16 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00175/0.00175, allocations: 85.83 kB / 0.67 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5216/0.5234, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.7288, allocations: 106.2 MB / 0.8835 GB, free: 1.055 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.81, allocations: 339.8 MB / 1.215 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.811, allocations: 76.95 kB / 1.215 GB, free: 5.754 MB / 0.8262 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.07007/1.881, allocations: 16.37 MB / 1.231 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.881, allocations: 8 kB / 1.231 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/1.884, allocations: 197.9 kB / 1.232 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/1.885, allocations: 209.5 kB / 1.232 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/1.885, allocations: 8 kB / 1.232 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/1.885, allocations: 12 kB / 1.232 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000708/1.886, allocations: 198.8 kB / 1.232 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/1.886, allocations: 225.8 kB / 1.232 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.886, allocations: 7.938 kB / 1.232 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/1.886, allocations: 0 / 1.232 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/1.887, allocations: 8 kB / 1.232 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/1.889, allocations: 1.344 MB / 1.233 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/1.89, allocations: 141.1 kB / 1.234 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/1.89, allocations: 57.33 kB / 1.234 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/1.89, allocations: 7.984 kB / 1.234 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.89, allocations: 37.56 kB / 1.234 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/1.89, allocations: 0 / 1.234 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0005704/1.891, allocations: 143.2 kB / 1.234 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.891, allocations: 55.34 kB / 1.234 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/1.891, allocations: 132.6 kB / 1.234 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/1.891, allocations: 25.7 kB / 1.234 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/1.891, allocations: 123.8 kB / 1.234 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/1.891, allocations: 61.97 kB / 1.234 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/1.891, allocations: 4 kB / 1.234 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.891, allocations: 320.6 kB / 1.235 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.891, allocations: 47.77 kB / 1.235 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.892, allocations: 114 kB / 1.235 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/1.892, allocations: 60.91 kB / 1.235 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.892, allocations: 0 / 1.235 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005451/1.892, allocations: 200.5 kB / 1.235 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.892, allocations: 7.938 kB / 1.235 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.892, allocations: 7.984 kB / 1.235 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.892, allocations: 4 kB / 1.235 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/1.893, allocations: 63.89 kB / 1.235 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.893, allocations: 4.312 kB / 1.235 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/1.894, allocations: 31.73 kB / 1.235 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/1.894, allocations: 11.69 kB / 1.235 GB, free: 4.426 MB / 0.8419 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.0001387/1.894, allocations: 108.9 kB / 1.235 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/1.894, allocations: 19.8 kB / 1.235 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/1.895, allocations: 186.6 kB / 1.235 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.895, allocations: 4 kB / 1.235 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.895, allocations: 0 / 1.235 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.895, allocations: 0 / 1.235 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/1.895, allocations: 208.3 kB / 1.236 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.895, allocations: 7.906 kB / 1.236 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/1.896, allocations: 51.53 kB / 1.236 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.896, allocations: 0 / 1.236 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.896, allocations: 11.98 kB / 1.236 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.896, allocations: 0 / 1.236 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.896, allocations: 0 / 1.236 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000486/1.897, allocations: 256.8 kB / 1.236 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006402/1.897, allocations: 0.6232 MB / 1.236 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/1.897, allocations: 112.5 kB / 1.237 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/1.897, allocations: 7.906 kB / 1.237 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/1.898, allocations: 7.984 kB / 1.237 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/1.898, allocations: 15.73 kB / 1.237 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/1.898, allocations: 4 kB / 1.237 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.488e-05/1.898, allocations: 98.58 kB / 1.237 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001399/1.9, allocations: 55.91 kB / 1.237 GB, free: 2.715 MB / 0.8419 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.0003177/1.9, allocations: 138.2 kB / 1.237 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004846/1.9, allocations: 143.1 kB / 1.237 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.901, allocations: 8.125 kB / 1.237 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.901, allocations: 69.92 kB / 1.237 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/1.901, allocations: 31.16 kB / 1.237 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.903, allocations: 213.8 kB / 1.237 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/1.903, allocations: 0.7476 MB / 1.238 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of SimCode: time 1.252e-06/1.903, allocations: 0 / 1.238 GB, free: 1.398 MB / 0.8419 GB