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 1.952/1.952, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.468e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.737/7.852, allocations: 2.538 GB / 2.852 GB, free: 19.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/7.853, allocations: 75.77 kB / 2.853 GB, free: 19.51 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.096/11.95, allocations: 0.7242 GB / 3.577 GB, free: 33.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.416e-06/11.95, allocations: 1.531 kB / 3.577 GB, free: 33.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001547/11.95, allocations: 43.48 kB / 3.577 GB, free: 33.5 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.01568/11.96, allocations: 2.627 MB / 3.579 GB, free: 32.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/11.96, allocations: 7.531 kB / 3.579 GB, free: 32.29 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006709/11.96, allocations: 172.3 kB / 3.58 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006697/11.97, allocations: 0.5833 MB / 3.58 GB, free: 32.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/11.98, allocations: 1.087 MB / 3.581 GB, free: 31.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/11.98, allocations: 92.38 kB / 3.581 GB, free: 31.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/11.98, allocations: 105.1 kB / 3.581 GB, free: 31.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008042/11.98, allocations: 2.258 MB / 3.584 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.638e-05/11.98, allocations: 4.875 kB / 3.584 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/11.99, allocations: 49.03 kB / 3.584 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/11.99, allocations: 84.53 kB / 3.584 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008242/11.99, allocations: 2.263 MB / 3.586 GB, free: 31.46 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.01902/12.01, allocations: 8.922 MB / 3.595 GB, free: 26.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/12.02, allocations: 1.657 MB / 3.596 GB, free: 26.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/12.02, allocations: 0.6434 MB / 3.597 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05759/12.08, allocations: 18.81 MB / 3.615 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/12.08, allocations: 45.84 kB / 3.615 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001843/12.08, allocations: 205.5 kB / 3.615 GB, free: 14.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 4.028e-06/12.08, allocations: 0 / 3.615 GB, free: 14.47 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.1173/12.2, allocations: 11.9 MB / 3.627 GB, free: 13.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/12.2, allocations: 226.5 kB / 3.627 GB, free: 13.35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/12.2, allocations: 0.7395 MB / 3.628 GB, free: 13.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006909/12.2, allocations: 52.42 kB / 3.628 GB, free: 13.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/12.2, allocations: 0.6017 MB / 3.629 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/12.2, allocations: 0.5299 MB / 3.629 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/12.2, allocations: 35.66 kB / 3.629 GB, free: 12.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007859/12.2, allocations: 381.9 kB / 3.63 GB, free: 28.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003936/12.21, allocations: 1.243 MB / 3.631 GB, free: 28.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/12.21, allocations: 1.697 MB / 3.632 GB, free: 27.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/12.22, allocations: 1.375 MB / 3.634 GB, free: 27.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/12.22, allocations: 6.844 kB / 3.634 GB, free: 27.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01369/12.23, allocations: 4.042 MB / 3.638 GB, free: 27.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00224/12.23, allocations: 4.795 MB / 3.642 GB, free: 22.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/12.23, allocations: 13.69 kB / 3.642 GB, free: 22.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1634/12.39, allocations: 7.948 MB / 3.65 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/12.4, allocations: 382.7 kB / 3.651 GB, free: 22.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/12.42, allocations: 4.645 MB / 3.655 GB, free: 21.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006433/12.42, allocations: 246.1 kB / 3.655 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006971/12.42, allocations: 129.1 kB / 3.655 GB, free: 21.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/12.42, allocations: 3.625 kB / 3.655 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0141/12.44, allocations: 3.893 MB / 3.659 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/12.44, allocations: 12.41 kB / 3.659 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/12.45, allocations: 2.593 MB / 3.662 GB, free: 21.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/12.45, allocations: 439.4 kB / 3.662 GB, free: 21.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/12.47, allocations: 4.06 MB / 3.666 GB, free: 19.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/12.47, allocations: 244 kB / 3.666 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/12.48, allocations: 127.1 kB / 3.667 GB, free: 19.97 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.0009351/12.48, allocations: 229.6 kB / 3.667 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/12.48, allocations: 142.4 kB / 3.667 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0272/12.5, allocations: 8.902 MB / 3.676 GB, free: 19.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/12.5, allocations: 68.45 kB / 3.676 GB, free: 19.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/12.5, allocations: 4 kB / 3.676 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/12.5, allocations: 10.31 kB / 3.676 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/12.54, allocations: 11.87 MB / 3.687 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-05/12.54, allocations: 0 / 3.687 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/12.54, allocations: 276.6 kB / 3.688 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1453/12.68, allocations: 8.878 MB / 3.696 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000552/12.68, allocations: 67.25 kB / 3.696 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/12.7, allocations: 5.51 MB / 3.702 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/12.7, allocations: 4.844 kB / 3.702 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/12.73, allocations: 6.747 MB / 3.708 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/12.73, allocations: 0.6936 MB / 3.709 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/12.73, allocations: 36 kB / 3.709 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005232/12.74, allocations: 229.1 kB / 3.709 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/12.74, allocations: 132.6 kB / 3.709 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000355/12.74, allocations: 76.62 kB / 3.709 GB, free: 1.008 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001719/12.74, allocations: 0.7468 MB / 3.71 GB, free: 332 kB / 474.7 MB Notification: Performance of sort global known variables: time 6.32e-07/12.74, allocations: 0 / 3.71 GB, free: 332 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01192/12.75, allocations: 2.235 MB / 3.712 GB, free: 14.13 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.04039/12.79, allocations: 9.718 MB / 3.722 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03195/12.82, allocations: 5.995 MB / 3.728 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/12.82, allocations: 0 / 3.728 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4157/13.24, allocations: 3.313 MB / 3.731 GB, free: 61.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006091/13.24, allocations: 0.5902 MB / 3.731 GB, free: 61.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3583/13.6, allocations: 124.9 MB / 3.853 GB, free: 49.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/13.6, allocations: 1.643 MB / 3.855 GB, free: 47.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/13.61, allocations: 0.8149 MB / 3.856 GB, free: 47.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/13.61, allocations: 0 / 3.856 GB, free: 47.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.921/18.53, allocations: 81.89 MB / 3.936 GB, free: 56.51 MB / 490.7 MB 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