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 2.225/2.225, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.146e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.596/7.703, allocations: 2.538 GB / 2.847 GB, free: 53.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/7.704, allocations: 76.33 kB / 2.847 GB, free: 53.05 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.684/11.39, allocations: 0.718 GB / 3.565 GB, free: 5.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.023e-06/11.39, allocations: 0 / 3.565 GB, free: 5.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002049/11.39, allocations: 40.16 kB / 3.565 GB, free: 5.449 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.01668/11.41, allocations: 2.621 MB / 3.567 GB, free: 2.789 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/11.41, allocations: 12.03 kB / 3.567 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007191/11.41, allocations: 0.5806 MB / 3.568 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/11.42, allocations: 1.086 MB / 3.569 GB, free: 1.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/11.42, allocations: 48 kB / 3.569 GB, free: 1.043 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/11.42, allocations: 60.34 kB / 3.569 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3723/11.79, allocations: 1.735 MB / 3.571 GB, free: 33.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005276/11.8, allocations: 1.547 MB / 3.572 GB, free: 33.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/11.8, allocations: 6 kB / 3.572 GB, free: 33.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/11.8, allocations: 3.5 kB / 3.572 GB, free: 33.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/11.8, allocations: 85.19 kB / 3.572 GB, free: 33.17 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.5399/12.34, allocations: 136.6 MB / 3.706 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/12.34, allocations: 1.049 MB / 3.707 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/12.34, allocations: 0.5287 MB / 3.707 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06755/12.41, allocations: 17.41 MB / 3.724 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/12.41, allocations: 46.91 kB / 3.724 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002333/12.41, allocations: 176.5 kB / 3.724 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 6.963e-06/12.41, allocations: 0 / 3.724 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.1232/12.54, allocations: 9.752 MB / 3.734 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/12.54, allocations: 221.8 kB / 3.734 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/12.54, allocations: 0.7457 MB / 3.735 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/12.54, allocations: 25.7 kB / 3.735 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000542/12.54, allocations: 0.656 MB / 3.736 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/12.54, allocations: 428.6 kB / 3.736 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/12.54, allocations: 0 / 3.736 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002361/12.54, allocations: 376 kB / 3.736 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/12.54, allocations: 1.262 MB / 3.738 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/12.55, allocations: 1.7 MB / 3.739 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/12.56, allocations: 1.895 MB / 3.741 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/12.56, allocations: 4 kB / 3.741 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01983/12.58, allocations: 4.609 MB / 3.746 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.3689/12.95, allocations: 4.789 MB / 3.75 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-05/12.95, allocations: 12.12 kB / 3.75 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02593/12.97, allocations: 3.96 MB / 3.754 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/12.98, allocations: 325.2 kB / 3.754 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03176/13.01, allocations: 5.755 MB / 3.76 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/13.02, allocations: 282.3 kB / 3.76 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/13.02, allocations: 125.3 kB / 3.761 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/13.02, allocations: 3.625 kB / 3.761 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02746/13.05, allocations: 2.902 MB / 3.763 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-05/13.05, allocations: 12.97 kB / 3.763 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/13.05, allocations: 0.5759 MB / 3.764 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/13.06, allocations: 456.6 kB / 3.764 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007085/13.07, allocations: 1.789 MB / 3.766 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/13.07, allocations: 178.5 kB / 3.766 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008181/13.07, allocations: 98.81 kB / 3.766 GB, free: 92.59 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001613/13.07, allocations: 158.5 kB / 3.767 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02596/13.1, allocations: 4.117 MB / 3.771 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/13.1, allocations: 135.5 kB / 3.771 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.031/13.13, allocations: 6.67 MB / 3.777 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-05/13.13, allocations: 36.09 kB / 3.777 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/13.13, allocations: 1.312 kB / 3.777 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.181e-05/13.13, allocations: 9.984 kB / 3.777 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/13.17, allocations: 8.991 MB / 3.786 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-05/13.17, allocations: 0 / 3.786 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/13.17, allocations: 147.6 kB / 3.786 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02565/13.2, allocations: 5.242 MB / 3.791 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006844/13.2, allocations: 43.22 kB / 3.791 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02489/13.22, allocations: 6.905 MB / 3.798 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/13.22, allocations: 5.375 kB / 3.798 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/13.24, allocations: 5.648 MB / 3.804 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/13.24, allocations: 0.6277 MB / 3.804 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008839/13.24, allocations: 0 / 3.804 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005778/13.25, allocations: 195.4 kB / 3.804 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/13.25, allocations: 97.02 kB / 3.804 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003592/13.25, allocations: 70.83 kB / 3.805 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001661/13.25, allocations: 0.782 MB / 3.805 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.044e-06/13.25, allocations: 0 / 3.805 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01126/13.26, allocations: 2.053 MB / 3.807 GB, free: 89.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03136/13.29, allocations: 8.3 MB / 3.815 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0213/13.32, allocations: 4.777 MB / 3.82 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/13.32, allocations: 0 / 3.82 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01106/13.33, allocations: 2.173 MB / 3.822 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/13.33, allocations: 492.9 kB / 3.823 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/13.35, allocations: 4.254 MB / 3.827 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/13.35, allocations: 1.448 MB / 3.828 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/13.35, allocations: 0.6563 MB / 3.829 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.313e-06/13.35, allocations: 0 / 3.829 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.637/17.99, allocations: 75.86 MB / 3.903 GB, free: 64.84 MB / 0.5105 GB 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