Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.484e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.715/7.824, allocations: 2.538 GB / 2.847 GB, free: 51.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/7.825, allocations: 80.62 kB / 2.847 GB, free: 51.42 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.607/11.43, allocations: 0.718 GB / 3.565 GB, free: 4.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/11.43, allocations: 0 / 3.565 GB, free: 4.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001397/11.43, allocations: 32.16 kB / 3.565 GB, free: 4.238 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.01534/11.45, allocations: 2.63 MB / 3.567 GB, free: 1.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/11.45, allocations: 12.03 kB / 3.567 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/11.45, allocations: 0.5767 MB / 3.568 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3674/11.82, allocations: 1.085 MB / 3.569 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/11.82, allocations: 45.12 kB / 3.569 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005609/11.82, allocations: 61.47 kB / 3.569 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00537/11.83, allocations: 1.74 MB / 3.571 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004396/11.83, allocations: 1.548 MB / 3.572 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.272e-05/11.83, allocations: 4.75 kB / 3.572 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/11.83, allocations: 6.203 kB / 3.572 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/11.83, allocations: 83.06 kB / 3.572 GB, free: 33.31 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.5131/12.35, allocations: 136.6 MB / 3.706 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/12.35, allocations: 1.046 MB / 3.707 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/12.35, allocations: 0.5342 MB / 3.707 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05384/12.4, allocations: 17.41 MB / 3.724 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/12.4, allocations: 44.81 kB / 3.724 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001952/12.41, allocations: 171.5 kB / 3.724 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 4.268e-06/12.41, allocations: 0 / 3.724 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.1137/12.52, allocations: 9.753 MB / 3.734 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/12.52, allocations: 220.2 kB / 3.734 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/12.52, allocations: 0.7413 MB / 3.735 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005261/12.52, allocations: 25.7 kB / 3.735 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/12.52, allocations: 0.6615 MB / 3.736 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/12.52, allocations: 422.6 kB / 3.736 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/12.52, allocations: 0 / 3.736 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000208/12.52, allocations: 382.7 kB / 3.736 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/12.53, allocations: 1.262 MB / 3.738 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/12.53, allocations: 1.706 MB / 3.739 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/12.54, allocations: 1.89 MB / 3.741 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/12.54, allocations: 0 / 3.741 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01898/12.56, allocations: 4.609 MB / 3.746 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001935/12.56, allocations: 4.799 MB / 3.75 GB, free: 196 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/12.56, allocations: 14.81 kB / 3.75 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3908/12.95, allocations: 4.163 MB / 3.754 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/12.96, allocations: 325.2 kB / 3.755 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/12.98, allocations: 5.749 MB / 3.76 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/12.98, allocations: 281.2 kB / 3.761 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007021/12.99, allocations: 123.8 kB / 3.761 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/12.99, allocations: 6.656 kB / 3.761 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01932/13, allocations: 2.901 MB / 3.764 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.786e-05/13, allocations: 15.92 kB / 3.764 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004436/13.01, allocations: 0.5728 MB / 3.764 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/13.01, allocations: 452 kB / 3.765 GB, free: 94.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/13.02, allocations: 1.794 MB / 3.766 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/13.02, allocations: 176.3 kB / 3.766 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/13.02, allocations: 103.9 kB / 3.767 GB, free: 93.4 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.00102/13.02, allocations: 159.8 kB / 3.767 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01745/13.04, allocations: 4.113 MB / 3.771 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/13.04, allocations: 132 kB / 3.771 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/13.06, allocations: 6.681 MB / 3.777 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/13.06, allocations: 35.88 kB / 3.777 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/13.06, allocations: 2.375 kB / 3.777 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/13.06, allocations: 7.734 kB / 3.777 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/13.09, allocations: 8.989 MB / 3.786 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/13.09, allocations: 0 / 3.786 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/13.09, allocations: 147 kB / 3.786 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0176/13.11, allocations: 5.244 MB / 3.791 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005235/13.11, allocations: 42.58 kB / 3.792 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/13.13, allocations: 6.901 MB / 3.798 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/13.13, allocations: 6.938 kB / 3.798 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/13.15, allocations: 5.655 MB / 3.804 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/13.15, allocations: 0.6288 MB / 3.804 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007359/13.15, allocations: 0 / 3.804 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005372/13.15, allocations: 197.5 kB / 3.805 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/13.16, allocations: 91.58 kB / 3.805 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/13.16, allocations: 64.78 kB / 3.805 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001559/13.16, allocations: 0.787 MB / 3.805 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/13.16, allocations: 0 / 3.805 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01082/13.17, allocations: 2.049 MB / 3.807 GB, free: 90.32 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.04255/13.21, allocations: 8.295 MB / 3.816 GB, free: 88.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02805/13.24, allocations: 4.777 MB / 3.82 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/13.24, allocations: 0 / 3.82 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0108/13.25, allocations: 2.171 MB / 3.822 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/13.25, allocations: 492.8 kB / 3.823 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/13.27, allocations: 4.25 MB / 3.827 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/13.27, allocations: 1.448 MB / 3.828 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/13.27, allocations: 0.6629 MB / 3.829 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of SimCode: time 2.505e-06/13.27, allocations: 0 / 3.829 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.64/17.91, allocations: 75.88 MB / 3.903 GB, free: 66.72 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat