Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.522e-05, allocations: 0 / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 25.15 MB / 176.5 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.53/3.671, allocations: 1.455 GB / 1.627 GB, free: 42.76 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/3.672, allocations: 70.59 kB / 1.627 GB, free: 42.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458/8.13, allocations: 0.8991 GB / 2.526 GB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.268e-06/8.13, allocations: 0 / 2.526 GB, free: 10.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003043/8.13, allocations: 68.66 kB / 2.526 GB, free: 10.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 573 * Number of variables: 573 Notification: Performance of Generate backend data structure: time 0.01512/8.145, allocations: 3.886 MB / 2.53 GB, free: 9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/8.145, allocations: 12.75 kB / 2.53 GB, free: 9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/8.147, allocations: 309.5 kB / 2.53 GB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006179/8.153, allocations: 1.977 MB / 2.532 GB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/8.153, allocations: 259.9 kB / 2.532 GB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008148/8.154, allocations: 225.1 kB / 2.533 GB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009011/8.163, allocations: 3.641 MB / 2.536 GB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-05/8.163, allocations: 6.5 kB / 2.536 GB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/8.164, allocations: 101.1 kB / 2.536 GB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000272/8.164, allocations: 180.5 kB / 2.536 GB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009018/8.173, allocations: 3.424 MB / 2.54 GB, free: 7.727 MB / 298.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/8.203, allocations: 16.93 MB / 2.556 GB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/8.208, allocations: 2.097 MB / 2.558 GB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/8.211, allocations: 1.428 MB / 2.56 GB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4738/8.685, allocations: 108.3 MB / 2.666 GB, free: 35.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/8.685, allocations: 54.69 kB / 2.666 GB, free: 35.03 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/8.687, allocations: 177.6 kB / 2.666 GB, free: 35.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 7.193e-06/8.687, allocations: 0 / 2.666 GB, free: 35.02 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: tank.level 2: tank.medium.h 3: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=205): time 0.05161/8.739, allocations: 12.27 MB / 2.678 GB, free: 34.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/8.739, allocations: 124.6 kB / 2.678 GB, free: 33.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/8.742, allocations: 1.426 MB / 2.679 GB, free: 33.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005857/8.742, allocations: 62.7 kB / 2.679 GB, free: 33.79 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Valves.mo:368:7-373:78:writable] Warning: The parameter valve.Av has fixed = false, a start value, start = valve.m_flow_nominal * Modelica.Fluid.Valves.ValveIncompressible$valve.valveCharacteristic(valve.opening_nominal) / sqrt(valve.rho_nominal * valve.dp_nominal) and a binding equation valve.Av = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.0008543/8.743, allocations: 0.9546 MB / 2.68 GB, free: 33.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/8.744, allocations: 0.7062 MB / 2.681 GB, free: 32.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/8.745, allocations: 43.41 kB / 2.681 GB, free: 32.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/8.745, allocations: 407.3 kB / 2.681 GB, free: 32.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/8.748, allocations: 1.336 MB / 2.683 GB, free: 32.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/8.751, allocations: 1.794 MB / 2.684 GB, free: 32.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07404/8.825, allocations: 8.389 MB / 2.693 GB, free: 31.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/8.825, allocations: 3.5 kB / 2.693 GB, free: 31.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01083/8.836, allocations: 4.543 MB / 2.697 GB, free: 31.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/8.836, allocations: 8.938 kB / 2.697 GB, free: 31.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/8.836, allocations: 14.16 kB / 2.697 GB, free: 31.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03007/8.866, allocations: 4.623 MB / 2.702 GB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/8.868, allocations: 282.4 kB / 2.702 GB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/8.879, allocations: 5.536 MB / 2.707 GB, free: 30.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/8.883, allocations: 277.2 kB / 2.708 GB, free: 30.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/8.884, allocations: 114.3 kB / 2.708 GB, free: 30.34 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heater.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 (radiator.state_b.phase,heater.state_a.phase,valve.state_b.phase,valve.state_a.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,radiator.state_a.phase,heater.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 124} Notification: Performance of prepare postOptimizeDAE: time 0.0006804/8.884, allocations: 239 kB / 2.708 GB, free: 30.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/8.885, allocations: 214.8 kB / 2.708 GB, free: 30.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/8.901, allocations: 7.775 MB / 2.716 GB, free: 29.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-05/8.901, allocations: 71.7 kB / 2.716 GB, free: 29.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/8.901, allocations: 0 / 2.716 GB, free: 29.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01219/8.913, allocations: 6.674 MB / 2.722 GB, free: 28.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/8.937, allocations: 11.21 MB / 2.733 GB, free: 26.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/8.937, allocations: 0 / 2.733 GB, free: 26.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/8.939, allocations: 378.8 kB / 2.734 GB, free: 26.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008927/8.948, allocations: 2.255 MB / 2.736 GB, free: 24.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005962/8.949, allocations: 94.42 kB / 2.736 GB, free: 24.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006554/8.955, allocations: 6.272 MB / 2.742 GB, free: 18.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-06/8.955, allocations: 0 / 2.742 GB, free: 18.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2538/9.209, allocations: 8.986 MB / 2.751 GB, free: 55.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/9.212, allocations: 0.7769 MB / 2.752 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000948/9.213, allocations: 63.38 kB / 2.752 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/9.216, allocations: 247.1 kB / 2.752 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/9.217, allocations: 213.3 kB / 2.752 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004104/9.217, allocations: 94.34 kB / 2.752 GB, free: 54.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002403/9.22, allocations: 1.104 MB / 2.753 GB, free: 54.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.228e-06/9.22, allocations: 0 / 2.753 GB, free: 54.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.009953/9.23, allocations: 2.567 MB / 2.756 GB, free: 54.81 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (tank.medium.h,tank.m,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 36 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse15.phase,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse24.phase,$cse24.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse41.phase,$cse44.phase,$cse51.phase,$cse52.phase,$cse55.phase,$cse55.region,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 1,2 4,1 1,4 17,2 12,1 1,3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/9.243, allocations: 3.309 MB / 2.759 GB, free: 54.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009701/9.253, allocations: 4.205 MB / 2.763 GB, free: 54.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.483e-06/9.253, allocations: 0 / 2.763 GB, free: 54.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006569/9.26, allocations: 2.821 MB / 2.766 GB, free: 54.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006937/9.267, allocations: 1.074 MB / 2.767 GB, free: 54.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/9.282, allocations: 6.4 MB / 2.773 GB, free: 53.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/9.285, allocations: 2.156 MB / 2.775 GB, free: 52.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/9.286, allocations: 223.5 kB / 2.775 GB, free: 52.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.805e-06/9.286, allocations: 0 / 2.775 GB, free: 52.55 MB / 346.7 MB Notification: Performance of Templates: time 0.4143/9.7, allocations: 125.2 MB / 2.898 GB, free: 54.45 MB / 346.7 MB