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 1.922/1.922, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.758e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.83/7.937, allocations: 2.538 GB / 2.852 GB, free: 17.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/7.938, allocations: 77.95 kB / 2.853 GB, free: 17.42 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 3.937/11.88, allocations: 0.7242 GB / 3.577 GB, free: 32.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.156e-06/11.88, allocations: 0 / 3.577 GB, free: 32.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001498/11.88, allocations: 37.41 kB / 3.577 GB, free: 32.8 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.01707/11.89, allocations: 2.624 MB / 3.579 GB, free: 31.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/11.89, allocations: 13.25 kB / 3.579 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008107/11.89, allocations: 169 kB / 3.58 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/11.9, allocations: 0.5802 MB / 3.58 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/11.91, allocations: 1.093 MB / 3.581 GB, free: 31.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/11.91, allocations: 97.47 kB / 3.581 GB, free: 31.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005967/11.91, allocations: 109.2 kB / 3.581 GB, free: 31.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/11.92, allocations: 2.234 MB / 3.584 GB, free: 30.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/11.92, allocations: 0.8438 kB / 3.584 GB, free: 30.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/11.92, allocations: 55.59 kB / 3.584 GB, free: 30.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/11.92, allocations: 80.92 kB / 3.584 GB, free: 30.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/11.93, allocations: 2.236 MB / 3.586 GB, free: 30.75 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.02273/11.96, allocations: 8.918 MB / 3.595 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00798/11.96, allocations: 1.642 MB / 3.596 GB, free: 25.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/11.97, allocations: 0.6442 MB / 3.597 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05778/12.03, allocations: 18.82 MB / 3.615 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/12.03, allocations: 50.5 kB / 3.615 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001867/12.03, allocations: 197.8 kB / 3.615 GB, free: 13.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 4.027e-06/12.03, allocations: 0 / 3.615 GB, free: 13.77 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.1163/12.14, allocations: 11.91 MB / 3.627 GB, free: 12.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/12.14, allocations: 223.1 kB / 3.627 GB, free: 12.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/12.14, allocations: 0.7437 MB / 3.628 GB, free: 12.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005431/12.15, allocations: 51.8 kB / 3.628 GB, free: 12.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/12.15, allocations: 0.5943 MB / 3.629 GB, free: 12.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007008/12.15, allocations: 0.5302 MB / 3.629 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/12.15, allocations: 39.28 kB / 3.629 GB, free: 11.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006032/12.15, allocations: 384.9 kB / 3.63 GB, free: 27.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/12.15, allocations: 1.243 MB / 3.631 GB, free: 27.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/12.15, allocations: 1.684 MB / 3.632 GB, free: 26.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003482/12.16, allocations: 1.371 MB / 3.634 GB, free: 26.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/12.16, allocations: 3.781 kB / 3.634 GB, free: 26.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01167/12.17, allocations: 4.008 MB / 3.638 GB, free: 26.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002027/12.17, allocations: 4.796 MB / 3.642 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/12.17, allocations: 14.28 kB / 3.642 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1662/12.34, allocations: 7.959 MB / 3.65 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/12.34, allocations: 376.1 kB / 3.65 GB, free: 21.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/12.36, allocations: 4.642 MB / 3.655 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006317/12.36, allocations: 251.5 kB / 3.655 GB, free: 20.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/12.37, allocations: 126 kB / 3.655 GB, free: 20.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/12.37, allocations: 3.938 kB / 3.655 GB, free: 20.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01383/12.38, allocations: 3.858 MB / 3.659 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/12.38, allocations: 15.69 kB / 3.659 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/12.39, allocations: 2.596 MB / 3.662 GB, free: 20.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/12.4, allocations: 443.2 kB / 3.662 GB, free: 20.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/12.41, allocations: 4.045 MB / 3.666 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/12.42, allocations: 250.3 kB / 3.666 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007034/12.42, allocations: 128 kB / 3.666 GB, free: 19.23 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.0009673/12.42, allocations: 221.5 kB / 3.667 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/12.42, allocations: 137.4 kB / 3.667 GB, free: 19.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/12.45, allocations: 8.911 MB / 3.675 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/12.45, allocations: 61.27 kB / 3.676 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/12.45, allocations: 3.719 kB / 3.676 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/12.45, allocations: 10.12 kB / 3.676 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/12.48, allocations: 11.87 MB / 3.687 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/12.48, allocations: 6.844 kB / 3.687 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/12.48, allocations: 266.8 kB / 3.687 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1664/12.65, allocations: 8.882 MB / 3.696 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005394/12.65, allocations: 65.7 kB / 3.696 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/12.67, allocations: 5.511 MB / 3.702 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/12.67, allocations: 4 kB / 3.702 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02622/12.7, allocations: 6.752 MB / 3.708 GB, free: 212 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/12.7, allocations: 0.6946 MB / 3.709 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006902/12.7, allocations: 28 kB / 3.709 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/12.7, allocations: 235.1 kB / 3.709 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006636/12.7, allocations: 129.3 kB / 3.709 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004937/12.7, allocations: 82.31 kB / 3.709 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001739/12.71, allocations: 0.7356 MB / 3.71 GB, free: 14.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.52e-07/12.71, allocations: 4 kB / 3.71 GB, free: 14.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01241/12.72, allocations: 2.245 MB / 3.712 GB, free: 12.38 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.0406/12.76, allocations: 9.733 MB / 3.722 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3988/13.16, allocations: 6.219 MB / 3.728 GB, free: 60.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/13.16, allocations: 0 / 3.728 GB, free: 60.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01396/13.17, allocations: 2.815 MB / 3.731 GB, free: 60.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/13.18, allocations: 0.5919 MB / 3.731 GB, free: 60.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3646/13.54, allocations: 124.9 MB / 3.853 GB, free: 47.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/13.54, allocations: 1.635 MB / 3.855 GB, free: 46.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/13.55, allocations: 0.8128 MB / 3.855 GB, free: 46.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/13.55, allocations: 0 / 3.855 GB, free: 46.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.892/18.44, allocations: 81.95 MB / 3.936 GB, free: 50.66 MB / 490.7 MB 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