Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.232e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2645, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.129/7.394, allocations: 2.53 GB / 2.788 GB, free: 33.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/7.394, allocations: 77.84 kB / 2.788 GB, free: 33.29 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.563/10.96, allocations: 0.7241 GB / 3.512 GB, free: 26.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/10.96, allocations: 0 / 3.512 GB, free: 26.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001217/10.96, allocations: 39.98 kB / 3.512 GB, free: 26.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01388/10.97, allocations: 2.626 MB / 3.514 GB, free: 23.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/10.97, allocations: 8.031 kB / 3.514 GB, free: 23.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/10.97, allocations: 173.7 kB / 3.515 GB, free: 23.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006002/10.98, allocations: 0.5836 MB / 3.515 GB, free: 22.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/10.98, allocations: 1.093 MB / 3.516 GB, free: 21.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/10.98, allocations: 90.14 kB / 3.516 GB, free: 21.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/10.98, allocations: 111.9 kB / 3.516 GB, free: 21.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006498/10.99, allocations: 2.228 MB / 3.519 GB, free: 18.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/10.99, allocations: 7.938 kB / 3.519 GB, free: 18.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/10.99, allocations: 51.98 kB / 3.519 GB, free: 18.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/10.99, allocations: 85.95 kB / 3.519 GB, free: 18.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006717/11, allocations: 2.241 MB / 3.521 GB, free: 16.55 MB / 394.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.01783/11.01, allocations: 8.916 MB / 3.53 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/11.02, allocations: 1.64 MB / 3.531 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/11.02, allocations: 0.6462 MB / 3.532 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3522/11.37, allocations: 18.8 MB / 3.55 GB, free: 21.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/11.37, allocations: 42.53 kB / 3.55 GB, free: 21.18 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001802/11.37, allocations: 194.9 kB / 3.55 GB, free: 21.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 4.969e-06/11.37, allocations: 2.906 kB / 3.55 GB, free: 21.18 MB / 394.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: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.1158/11.49, allocations: 11.91 MB / 3.562 GB, free: 20.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/11.49, allocations: 226.6 kB / 3.562 GB, free: 20.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/11.49, allocations: 0.7408 MB / 3.563 GB, free: 20.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004166/11.49, allocations: 54.2 kB / 3.563 GB, free: 20.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/11.49, allocations: 0.5934 MB / 3.564 GB, free: 19.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006935/11.49, allocations: 0.5329 MB / 3.564 GB, free: 19.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/11.49, allocations: 33.81 kB / 3.564 GB, free: 19.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/11.49, allocations: 385.3 kB / 3.565 GB, free: 19.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/11.5, allocations: 1.244 MB / 3.566 GB, free: 19.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/11.5, allocations: 1.684 MB / 3.567 GB, free: 18.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/11.5, allocations: 1.369 MB / 3.569 GB, free: 18.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/11.5, allocations: 6.75 kB / 3.569 GB, free: 18.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01164/11.52, allocations: 3.999 MB / 3.573 GB, free: 18.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009905/11.52, allocations: 4.801 MB / 3.577 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/11.52, allocations: 14.94 kB / 3.577 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1648/11.68, allocations: 7.95 MB / 3.585 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/11.69, allocations: 383.1 kB / 3.585 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/11.7, allocations: 4.64 MB / 3.59 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/11.71, allocations: 250.3 kB / 3.59 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/11.71, allocations: 129.1 kB / 3.59 GB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/11.71, allocations: 3.281 kB / 3.59 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0132/11.72, allocations: 3.859 MB / 3.594 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/11.72, allocations: 20.72 kB / 3.594 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01244/11.73, allocations: 2.597 MB / 3.597 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/11.74, allocations: 437.4 kB / 3.597 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/11.75, allocations: 4.046 MB / 3.601 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/11.76, allocations: 246.6 kB / 3.601 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/11.76, allocations: 127.7 kB / 3.601 GB, free: 11.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008708/11.76, allocations: 217.4 kB / 3.602 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/11.76, allocations: 139.6 kB / 3.602 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02608/11.79, allocations: 8.91 MB / 3.61 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/11.79, allocations: 65.7 kB / 3.611 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/11.79, allocations: 3.516 kB / 3.611 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/11.79, allocations: 9.875 kB / 3.611 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/11.82, allocations: 11.88 MB / 3.622 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/11.82, allocations: 7.156 kB / 3.622 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/11.82, allocations: 268.3 kB / 3.622 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1462/11.96, allocations: 8.883 MB / 3.631 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004642/11.96, allocations: 64.75 kB / 3.631 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/11.98, allocations: 5.496 MB / 3.637 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/11.98, allocations: 6.875 kB / 3.637 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/12, allocations: 6.759 MB / 3.643 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/12.01, allocations: 0.6931 MB / 3.644 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/12.01, allocations: 31.56 kB / 3.644 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00486/12.01, allocations: 226.2 kB / 3.644 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/12.01, allocations: 142 kB / 3.644 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/12.01, allocations: 79.98 kB / 3.644 GB, free: 6.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001334/12.01, allocations: 0.737 MB / 3.645 GB, free: 5.836 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/12.01, allocations: 3.391 kB / 3.645 GB, free: 5.836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009968/12.02, allocations: 2.238 MB / 3.647 GB, free: 5.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03421/12.06, allocations: 9.728 MB / 3.657 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03763/12.1, allocations: 6.399 MB / 3.663 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/12.1, allocations: 4.125 kB / 3.663 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01323/12.11, allocations: 2.815 MB / 3.666 GB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005316/12.11, allocations: 0.5832 MB / 3.666 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6464/12.76, allocations: 125.5 MB / 3.789 GB, free: 30.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/12.76, allocations: 1.636 MB / 3.79 GB, free: 29.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/12.76, allocations: 0.8114 MB / 3.791 GB, free: 29.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.582e-06/12.76, allocations: 0 / 3.791 GB, free: 29.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.036/17.8, allocations: 81.97 MB / 3.871 GB, free: 46.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat