Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.91e-05, allocations: 7.984 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4126, allocations: 54.85 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.829/8.242, allocations: 2.649 GB / 3 GB, free: 115.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/8.242, allocations: 77.58 kB / 3 GB, free: 115.2 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.005/12.25, allocations: 0.7436 GB / 3.744 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/12.25, allocations: 0 / 3.744 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001697/12.25, allocations: 37.86 kB / 3.744 GB, free: 34.58 MB / 0.4948 GB 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.01621/12.26, allocations: 2.722 MB / 3.747 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/12.26, allocations: 14.23 kB / 3.747 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006628/12.26, allocations: 171.3 kB / 3.747 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006804/12.27, allocations: 0.599 MB / 3.747 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/12.28, allocations: 1.089 MB / 3.748 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/12.28, allocations: 91.94 kB / 3.749 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/12.28, allocations: 108.4 kB / 3.749 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/12.28, allocations: 2.226 MB / 3.751 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/12.28, allocations: 6.438 kB / 3.751 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/12.28, allocations: 51.02 kB / 3.751 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/12.28, allocations: 87.56 kB / 3.751 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008102/12.29, allocations: 2.236 MB / 3.753 GB, free: 32.46 MB / 0.4948 GB 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.01823/12.31, allocations: 8.924 MB / 3.762 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005781/12.32, allocations: 1.638 MB / 3.763 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/12.32, allocations: 0.6398 MB / 3.764 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05837/12.38, allocations: 18.84 MB / 3.782 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.63e-05/12.38, allocations: 45.81 kB / 3.783 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002009/12.38, allocations: 200.7 kB / 3.783 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 7.684e-06/12.38, allocations: 4 kB / 3.783 GB, free: 15.44 MB / 0.4948 GB 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.1242/12.5, allocations: 11.91 MB / 3.794 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/12.5, allocations: 226.2 kB / 3.795 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/12.51, allocations: 0.7435 MB / 3.795 GB, free: 30 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007223/12.51, allocations: 53.48 kB / 3.795 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/12.51, allocations: 0.5897 MB / 3.796 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009183/12.51, allocations: 0.5338 MB / 3.796 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/12.51, allocations: 30.5 kB / 3.796 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002373/12.51, allocations: 386 kB / 3.797 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/12.51, allocations: 1.243 MB / 3.798 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/12.52, allocations: 1.684 MB / 3.8 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/12.52, allocations: 1.372 MB / 3.801 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/12.52, allocations: 6 kB / 3.801 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01328/12.53, allocations: 4.002 MB / 3.805 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002115/12.54, allocations: 4.799 MB / 3.81 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/12.54, allocations: 10.38 kB / 3.81 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1682/12.7, allocations: 7.957 MB / 3.817 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/12.71, allocations: 381.5 kB / 3.818 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/12.73, allocations: 4.64 MB / 3.822 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/12.73, allocations: 249 kB / 3.823 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/12.73, allocations: 127 kB / 3.823 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/12.73, allocations: 3.781 kB / 3.823 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01427/12.75, allocations: 3.857 MB / 3.826 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/12.75, allocations: 13.53 kB / 3.826 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/12.76, allocations: 2.595 MB / 3.829 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/12.76, allocations: 442.2 kB / 3.829 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/12.78, allocations: 4.056 MB / 3.833 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/12.79, allocations: 243.7 kB / 3.834 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000589/12.79, allocations: 122.3 kB / 3.834 GB, free: 20.65 MB / 0.5105 GB 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.0009644/12.79, allocations: 217.5 kB / 3.834 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/12.79, allocations: 137.7 kB / 3.834 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02739/12.81, allocations: 8.918 MB / 3.843 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/12.81, allocations: 63.86 kB / 3.843 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/12.81, allocations: 0.5625 kB / 3.843 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.237e-05/12.81, allocations: 10.64 kB / 3.843 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03163/12.85, allocations: 11.88 MB / 3.854 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/12.85, allocations: 4 kB / 3.854 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/12.85, allocations: 273.1 kB / 3.855 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1528/13, allocations: 8.876 MB / 3.863 GB, free: 356 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005764/13, allocations: 58.61 kB / 3.863 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/13.02, allocations: 5.5 MB / 3.869 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/13.02, allocations: 4 kB / 3.869 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/13.05, allocations: 6.763 MB / 3.875 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/13.05, allocations: 0.6792 MB / 3.876 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006742/13.05, allocations: 39.7 kB / 3.876 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005369/13.06, allocations: 222.3 kB / 3.876 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/13.06, allocations: 130 kB / 3.876 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003616/13.06, allocations: 87.67 kB / 3.877 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001643/13.06, allocations: 0.739 MB / 3.877 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.42e-07/13.06, allocations: 0 / 3.877 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01197/13.07, allocations: 2.259 MB / 3.879 GB, free: 1.707 MB / 0.5261 GB 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.4407/13.51, allocations: 9.745 MB / 3.889 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03248/13.54, allocations: 5.943 MB / 3.895 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/13.54, allocations: 0.6562 kB / 3.895 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01407/13.56, allocations: 2.813 MB / 3.898 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006025/13.56, allocations: 0.5958 MB / 3.898 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3979/13.96, allocations: 127.1 MB / 4.022 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/13.96, allocations: 1.645 MB / 4.024 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/13.97, allocations: 0.8145 MB / 4.025 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/13.97, allocations: 2.531 kB / 4.025 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.993/18.96, allocations: 82.15 MB / 4.105 GB, free: 59.86 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat