Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.75e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 48.7 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.73/7.84, allocations: 2.538 GB / 2.852 GB, free: 19.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/7.841, allocations: 80.08 kB / 2.853 GB, free: 19.5 MB / 426.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 4.029/11.87, allocations: 0.7242 GB / 3.577 GB, free: 33.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/11.87, allocations: 0 / 3.577 GB, free: 33.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001871/11.87, allocations: 38.11 kB / 3.577 GB, free: 33.53 MB / 458.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.01645/11.89, allocations: 2.624 MB / 3.579 GB, free: 32.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/11.89, allocations: 13.36 kB / 3.579 GB, free: 32.32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006921/11.89, allocations: 172.4 kB / 3.58 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00684/11.89, allocations: 0.5826 MB / 3.58 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/11.9, allocations: 1.089 MB / 3.581 GB, free: 31.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/11.9, allocations: 90.95 kB / 3.581 GB, free: 31.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004681/11.9, allocations: 109.7 kB / 3.581 GB, free: 31.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/11.91, allocations: 2.242 MB / 3.584 GB, free: 31.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-05/11.91, allocations: 4.594 kB / 3.584 GB, free: 31.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/11.91, allocations: 50.11 kB / 3.584 GB, free: 31.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/11.91, allocations: 83.83 kB / 3.584 GB, free: 31.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008143/11.92, allocations: 2.241 MB / 3.586 GB, free: 31.5 MB / 458.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.01804/11.93, allocations: 8.913 MB / 3.595 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/11.94, allocations: 1.641 MB / 3.596 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/11.94, allocations: 0.6454 MB / 3.597 GB, free: 26.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05889/12, allocations: 18.82 MB / 3.615 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.729e-05/12, allocations: 49.73 kB / 3.615 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/12, allocations: 191.1 kB / 3.615 GB, free: 14.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 5.691e-06/12, allocations: 0 / 3.615 GB, free: 14.51 MB / 458.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.1214/12.12, allocations: 11.91 MB / 3.627 GB, free: 13.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/12.12, allocations: 225.6 kB / 3.627 GB, free: 13.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/12.13, allocations: 0.7422 MB / 3.628 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006428/12.13, allocations: 53.48 kB / 3.628 GB, free: 13.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/12.13, allocations: 0.5954 MB / 3.629 GB, free: 12.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008375/12.13, allocations: 0.5333 MB / 3.629 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/12.13, allocations: 32.34 kB / 3.629 GB, free: 12.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/12.13, allocations: 380 kB / 3.63 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/12.13, allocations: 1.25 MB / 3.631 GB, free: 12.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/12.13, allocations: 1.687 MB / 3.632 GB, free: 11.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/12.14, allocations: 1.378 MB / 3.634 GB, free: 11.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/12.14, allocations: 3.656 kB / 3.634 GB, free: 11.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01288/12.15, allocations: 4 MB / 3.638 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002307/12.15, allocations: 4.799 MB / 3.642 GB, free: 22.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/12.15, allocations: 13.44 kB / 3.642 GB, free: 22.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1671/12.32, allocations: 7.951 MB / 3.65 GB, free: 22.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/12.32, allocations: 383.1 kB / 3.65 GB, free: 22.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/12.34, allocations: 4.637 MB / 3.655 GB, free: 21.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/12.35, allocations: 251.9 kB / 3.655 GB, free: 21.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008643/12.35, allocations: 128.5 kB / 3.655 GB, free: 21.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/12.35, allocations: 4.781 kB / 3.655 GB, free: 21.22 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01515/12.37, allocations: 3.854 MB / 3.659 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.48e-05/12.37, allocations: 11.94 kB / 3.659 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/12.38, allocations: 2.597 MB / 3.662 GB, free: 21.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/12.38, allocations: 444 kB / 3.662 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/12.4, allocations: 4.052 MB / 3.666 GB, free: 20.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005939/12.4, allocations: 245.1 kB / 3.666 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007144/12.41, allocations: 126.3 kB / 3.666 GB, free: 20 MB / 474.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.0009738/12.41, allocations: 226.9 kB / 3.667 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/12.41, allocations: 138.8 kB / 3.667 GB, free: 19.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02943/12.44, allocations: 8.907 MB / 3.675 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/12.44, allocations: 63 kB / 3.676 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/12.44, allocations: 7.422 kB / 3.676 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.887e-05/12.44, allocations: 7.125 kB / 3.676 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/12.47, allocations: 11.87 MB / 3.687 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/12.47, allocations: 3.906 kB / 3.687 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/12.47, allocations: 277.9 kB / 3.687 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1481/12.62, allocations: 8.871 MB / 3.696 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/12.62, allocations: 63.59 kB / 3.696 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/12.64, allocations: 5.508 MB / 3.702 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/12.64, allocations: 9.391 kB / 3.702 GB, free: 7.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02652/12.66, allocations: 6.753 MB / 3.708 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/12.67, allocations: 0.684 MB / 3.709 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006625/12.67, allocations: 36 kB / 3.709 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005519/12.67, allocations: 225.2 kB / 3.709 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/12.67, allocations: 133.4 kB / 3.709 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003688/12.67, allocations: 85.08 kB / 3.709 GB, free: 1.031 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001636/12.68, allocations: 0.7354 MB / 3.71 GB, free: 364 kB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/12.68, allocations: 0 / 3.71 GB, free: 364 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01289/12.69, allocations: 2.294 MB / 3.712 GB, free: 14.25 MB / 490.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.04026/12.73, allocations: 9.742 MB / 3.722 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03163/12.76, allocations: 5.94 MB / 3.728 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/12.76, allocations: 0 / 3.728 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3791/13.14, allocations: 3.242 MB / 3.731 GB, free: 61.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008862/13.15, allocations: 0.5938 MB / 3.731 GB, free: 61.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3941/13.54, allocations: 124.9 MB / 3.853 GB, free: 49.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/13.54, allocations: 1.636 MB / 3.855 GB, free: 47.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/13.55, allocations: 0.816 MB / 3.856 GB, free: 47.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.725e-06/13.55, allocations: 0 / 3.856 GB, free: 47.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.919/18.47, allocations: 81.97 MB / 3.936 GB, free: 56.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat