Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_HeatingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.125/1.125, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.467e-05, allocations: 0 / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1701, allocations: 25.16 MB / 176.6 MB, free: 15.88 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.458/4.628, allocations: 1.455 GB / 1.627 GB, free: 26.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.629, allocations: 61.28 kB / 1.627 GB, free: 26.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.995/9.624, allocations: 0.899 GB / 2.526 GB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/9.624, allocations: 1.562 kB / 2.526 GB, free: 12.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003479/9.624, allocations: 65.09 kB / 2.526 GB, free: 12.78 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.02205/9.646, allocations: 3.896 MB / 2.53 GB, free: 10.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/9.646, allocations: 8.344 kB / 2.53 GB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001814/9.648, allocations: 367.8 kB / 2.53 GB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/9.65, allocations: 314.1 kB / 2.531 GB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/9.66, allocations: 1.972 MB / 2.533 GB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006029/9.66, allocations: 267.2 kB / 2.533 GB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/9.661, allocations: 222.2 kB / 2.533 GB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009863/9.671, allocations: 3.651 MB / 2.537 GB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.203e-05/9.672, allocations: 8.469 kB / 2.537 GB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/9.672, allocations: 99.27 kB / 2.537 GB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/9.672, allocations: 185.4 kB / 2.537 GB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009365/9.682, allocations: 3.425 MB / 2.54 GB, free: 9.598 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.03183/9.714, allocations: 16.95 MB / 2.557 GB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005448/9.719, allocations: 2.09 MB / 2.559 GB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/9.722, allocations: 1.43 MB / 2.56 GB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6475/10.37, allocations: 108.6 MB / 2.666 GB, free: 37.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/10.37, allocations: 56.61 kB / 2.666 GB, free: 36.98 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001821/10.37, allocations: 180.3 kB / 2.666 GB, free: 36.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 8.857e-06/10.37, allocations: 0 / 2.666 GB, free: 36.98 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.06317/10.44, allocations: 12.27 MB / 2.678 GB, free: 36.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/10.44, allocations: 123.4 kB / 2.679 GB, free: 35.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/10.44, allocations: 1.426 MB / 2.68 GB, free: 35.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006647/10.44, allocations: 57.8 kB / 2.68 GB, free: 35.76 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.0008846/10.44, allocations: 0.9601 MB / 2.681 GB, free: 35.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/10.44, allocations: 0.7052 MB / 2.682 GB, free: 34.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/10.44, allocations: 49.44 kB / 2.682 GB, free: 34.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/10.44, allocations: 402.5 kB / 2.682 GB, free: 34.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/10.45, allocations: 1.341 MB / 2.683 GB, free: 34.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/10.45, allocations: 1.796 MB / 2.685 GB, free: 34.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.08855/10.54, allocations: 8.397 MB / 2.693 GB, free: 33.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/10.54, allocations: 2.844 kB / 2.693 GB, free: 33.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01227/10.55, allocations: 4.538 MB / 2.698 GB, free: 33.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/10.55, allocations: 10.97 kB / 2.698 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/10.55, allocations: 9.938 kB / 2.698 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03187/10.58, allocations: 4.624 MB / 2.702 GB, free: 33.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/10.58, allocations: 282.7 kB / 2.703 GB, free: 33.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/10.6, allocations: 5.545 MB / 2.708 GB, free: 32.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/10.61, allocations: 279.2 kB / 2.708 GB, free: 32.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009779/10.61, allocations: 115.8 kB / 2.708 GB, free: 32.23 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.001107/10.61, allocations: 241.6 kB / 2.709 GB, free: 32.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/10.61, allocations: 216.8 kB / 2.709 GB, free: 32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02536/10.63, allocations: 7.765 MB / 2.716 GB, free: 31.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001389/10.63, allocations: 65.86 kB / 2.716 GB, free: 31.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/10.63, allocations: 0 / 2.716 GB, free: 31.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0184/10.65, allocations: 6.681 MB / 2.723 GB, free: 30.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/10.69, allocations: 11.21 MB / 2.734 GB, free: 27.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/10.69, allocations: 0 / 2.734 GB, free: 27.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003207/10.69, allocations: 370.3 kB / 2.734 GB, free: 27.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009769/10.7, allocations: 2.271 MB / 2.736 GB, free: 25.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006419/10.7, allocations: 89.48 kB / 2.737 GB, free: 25.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007299/10.71, allocations: 6.262 MB / 2.743 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/10.71, allocations: 7.641 kB / 2.743 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2957/11, allocations: 9.031 MB / 2.752 GB, free: 57.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/11.01, allocations: 0.7813 MB / 2.752 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/11.01, allocations: 64.86 kB / 2.752 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/11.01, allocations: 241 kB / 2.753 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009047/11.01, allocations: 216.4 kB / 2.753 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004031/11.01, allocations: 90.75 kB / 2.753 GB, free: 57.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002525/11.01, allocations: 1.102 MB / 2.754 GB, free: 56.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/11.01, allocations: 0 / 2.754 GB, free: 56.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0118/11.03, allocations: 2.572 MB / 2.756 GB, free: 56.95 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.03599/11.06, allocations: 12.33 MB / 2.768 GB, free: 55.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01171/11.07, allocations: 4.209 MB / 2.773 GB, free: 55.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/11.07, allocations: 3.875 kB / 2.773 GB, free: 55.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007676/11.08, allocations: 2.811 MB / 2.775 GB, free: 55.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0095/11.09, allocations: 1.081 MB / 2.776 GB, free: 55.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/11.12, allocations: 7.879 MB / 2.784 GB, free: 54.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/11.12, allocations: 2.159 MB / 2.786 GB, free: 53.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002681/11.12, allocations: 1.234 MB / 2.787 GB, free: 53.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/11.12, allocations: 1.969 kB / 2.787 GB, free: 53.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.373/16.5, allocations: 138.9 MB / 2.923 GB, free: 52.58 MB / 346.7 MB