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.93/1.93, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.419e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.637/7.761, allocations: 2.538 GB / 2.852 GB, free: 19.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/7.761, allocations: 78.89 kB / 2.853 GB, free: 19.65 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.077/11.84, allocations: 0.7242 GB / 3.577 GB, free: 33.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/11.84, allocations: 0 / 3.577 GB, free: 33.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001401/11.84, allocations: 34.61 kB / 3.577 GB, free: 33.56 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.01446/11.85, allocations: 2.625 MB / 3.579 GB, free: 32.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/11.85, allocations: 7.375 kB / 3.579 GB, free: 32.36 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005196/11.85, allocations: 177.8 kB / 3.58 GB, free: 32.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/11.86, allocations: 0.5816 MB / 3.58 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/11.86, allocations: 1.091 MB / 3.581 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/11.86, allocations: 92.83 kB / 3.581 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/11.86, allocations: 105.6 kB / 3.581 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006745/11.87, allocations: 2.249 MB / 3.584 GB, free: 31.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/11.87, allocations: 8.891 kB / 3.584 GB, free: 31.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/11.87, allocations: 55.41 kB / 3.584 GB, free: 31.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/11.87, allocations: 79.66 kB / 3.584 GB, free: 31.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/11.88, allocations: 2.264 MB / 3.586 GB, free: 31.52 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.01576/11.89, allocations: 8.914 MB / 3.595 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005334/11.9, allocations: 1.665 MB / 3.596 GB, free: 26.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/11.9, allocations: 0.6333 MB / 3.597 GB, free: 26.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05729/11.96, allocations: 18.82 MB / 3.615 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/11.96, allocations: 53.53 kB / 3.615 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001786/11.96, allocations: 197 kB / 3.615 GB, free: 14.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 3.727e-06/11.96, allocations: 0 / 3.615 GB, free: 14.53 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.1155/12.08, allocations: 11.91 MB / 3.627 GB, free: 13.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/12.08, allocations: 228.8 kB / 3.627 GB, free: 13.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/12.08, allocations: 0.7402 MB / 3.628 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000643/12.08, allocations: 54.36 kB / 3.628 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/12.08, allocations: 0.5953 MB / 3.629 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008435/12.08, allocations: 0.5369 MB / 3.629 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/12.08, allocations: 36.41 kB / 3.629 GB, free: 12.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/12.08, allocations: 378.3 kB / 3.63 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/12.08, allocations: 1.242 MB / 3.631 GB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/12.09, allocations: 1.702 MB / 3.632 GB, free: 11.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/12.09, allocations: 1.372 MB / 3.634 GB, free: 11.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/12.09, allocations: 3.812 kB / 3.634 GB, free: 11.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01253/12.1, allocations: 4.037 MB / 3.638 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002396/12.11, allocations: 4.794 MB / 3.642 GB, free: 22.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/12.11, allocations: 14 kB / 3.642 GB, free: 22.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1711/12.28, allocations: 7.953 MB / 3.65 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/12.28, allocations: 382.1 kB / 3.651 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/12.3, allocations: 4.641 MB / 3.655 GB, free: 21.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0063/12.3, allocations: 248.8 kB / 3.655 GB, free: 21.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/12.31, allocations: 130.7 kB / 3.655 GB, free: 21.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/12.31, allocations: 5.188 kB / 3.655 GB, free: 21.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01456/12.32, allocations: 3.887 MB / 3.659 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/12.32, allocations: 17.44 kB / 3.659 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/12.33, allocations: 2.596 MB / 3.662 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/12.34, allocations: 438.6 kB / 3.662 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/12.35, allocations: 4.056 MB / 3.666 GB, free: 20.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/12.36, allocations: 249.3 kB / 3.666 GB, free: 20.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/12.36, allocations: 123.9 kB / 3.667 GB, free: 20.03 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.0009459/12.36, allocations: 225 kB / 3.667 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006018/12.36, allocations: 142.1 kB / 3.667 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02672/12.39, allocations: 8.903 MB / 3.676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/12.39, allocations: 66.38 kB / 3.676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/12.39, allocations: 0 / 3.676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.046e-05/12.39, allocations: 10.45 kB / 3.676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/12.42, allocations: 11.87 MB / 3.687 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/12.42, allocations: 7.609 kB / 3.687 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/12.42, allocations: 271.7 kB / 3.688 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1441/12.56, allocations: 8.878 MB / 3.696 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005685/12.56, allocations: 64.72 kB / 3.696 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/12.58, allocations: 5.512 MB / 3.702 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/12.58, allocations: 1.406 kB / 3.702 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/12.61, allocations: 6.748 MB / 3.708 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/12.61, allocations: 0.6882 MB / 3.709 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007558/12.61, allocations: 32 kB / 3.709 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005631/12.62, allocations: 235 kB / 3.709 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/12.62, allocations: 127 kB / 3.709 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/12.62, allocations: 86.34 kB / 3.709 GB, free: 1.008 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001723/12.62, allocations: 0.7399 MB / 3.71 GB, free: 336 kB / 474.7 MB Notification: Performance of sort global known variables: time 7.61e-07/12.62, allocations: 0 / 3.71 GB, free: 336 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01243/12.63, allocations: 2.245 MB / 3.712 GB, free: 14.12 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.04136/12.67, allocations: 9.719 MB / 3.722 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03265/12.71, allocations: 6 MB / 3.728 GB, free: 0.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/12.71, allocations: 0 / 3.728 GB, free: 0.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4461/13.15, allocations: 3.311 MB / 3.731 GB, free: 61.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/13.16, allocations: 0.5808 MB / 3.731 GB, free: 61.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3704/13.53, allocations: 124.9 MB / 3.853 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/13.53, allocations: 1.642 MB / 3.855 GB, free: 47.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/13.53, allocations: 0.8154 MB / 3.856 GB, free: 47.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.963e-06/13.53, allocations: 0 / 3.856 GB, free: 47.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.982/18.51, allocations: 81.89 MB / 3.936 GB, free: 56.62 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