Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.325e-05, allocations: 4 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.151/7.412, allocations: 2.53 GB / 2.788 GB, free: 35.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/7.412, allocations: 78.64 kB / 2.788 GB, free: 35.91 MB / 362.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.665/11.08, allocations: 0.7241 GB / 3.512 GB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/11.08, allocations: 0 / 3.512 GB, free: 13.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001531/11.08, allocations: 38.58 kB / 3.512 GB, free: 13.67 MB / 378.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.01463/11.09, allocations: 2.619 MB / 3.514 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/11.09, allocations: 8.031 kB / 3.514 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000617/11.09, allocations: 173.6 kB / 3.515 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006566/11.1, allocations: 0.5836 MB / 3.515 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/11.1, allocations: 1.089 MB / 3.516 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/11.1, allocations: 94.14 kB / 3.516 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/11.1, allocations: 104 kB / 3.516 GB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/11.11, allocations: 2.241 MB / 3.519 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/11.11, allocations: 3.938 kB / 3.519 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/11.11, allocations: 51.98 kB / 3.519 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/11.11, allocations: 85.95 kB / 3.519 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/11.12, allocations: 2.268 MB / 3.521 GB, free: 4.105 MB / 378.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.01843/11.14, allocations: 8.908 MB / 3.53 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/11.14, allocations: 1.67 MB / 3.531 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/11.15, allocations: 0.6352 MB / 3.532 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.367/11.51, allocations: 18.82 MB / 3.55 GB, free: 24.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/11.51, allocations: 44.53 kB / 3.55 GB, free: 24.79 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001798/11.51, allocations: 200.8 kB / 3.55 GB, free: 24.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 4.318e-06/11.51, allocations: 2.594 kB / 3.55 GB, free: 24.79 MB / 394.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.117/11.63, allocations: 11.9 MB / 3.562 GB, free: 24.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/11.63, allocations: 230.4 kB / 3.562 GB, free: 23.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/11.63, allocations: 0.7399 MB / 3.563 GB, free: 23.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006414/11.63, allocations: 54.2 kB / 3.563 GB, free: 23.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/11.63, allocations: 0.6001 MB / 3.564 GB, free: 23.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007704/11.63, allocations: 0.5279 MB / 3.564 GB, free: 23.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/11.64, allocations: 34.97 kB / 3.564 GB, free: 23.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/11.64, allocations: 383.9 kB / 3.565 GB, free: 22.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/11.64, allocations: 1.24 MB / 3.566 GB, free: 22.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/11.64, allocations: 1.7 MB / 3.567 GB, free: 22.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/11.65, allocations: 1.367 MB / 3.569 GB, free: 22.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/11.65, allocations: 6.406 kB / 3.569 GB, free: 22.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01256/11.66, allocations: 4.034 MB / 3.573 GB, free: 22.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00102/11.66, allocations: 4.795 MB / 3.577 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/11.66, allocations: 14.12 kB / 3.577 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1643/11.82, allocations: 7.964 MB / 3.585 GB, free: 17.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/11.83, allocations: 381.8 kB / 3.586 GB, free: 17.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/11.84, allocations: 4.641 MB / 3.59 GB, free: 16.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/11.85, allocations: 249 kB / 3.59 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008577/11.85, allocations: 133.5 kB / 3.59 GB, free: 16.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/11.85, allocations: 1.406 kB / 3.59 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/11.87, allocations: 3.891 MB / 3.594 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/11.87, allocations: 15.36 kB / 3.594 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/11.88, allocations: 2.586 MB / 3.597 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/11.88, allocations: 447.7 kB / 3.597 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/11.9, allocations: 4.049 MB / 3.601 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/11.91, allocations: 243.9 kB / 3.601 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000677/11.91, allocations: 127.7 kB / 3.602 GB, free: 14.91 MB / 394.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.0009446/11.91, allocations: 217.2 kB / 3.602 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/11.91, allocations: 141.9 kB / 3.602 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/11.94, allocations: 8.921 MB / 3.611 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.752e-05/11.94, allocations: 63.78 kB / 3.611 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/11.94, allocations: 0 / 3.611 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/11.94, allocations: 8.391 kB / 3.611 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/11.97, allocations: 11.89 MB / 3.622 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/11.97, allocations: 0 / 3.622 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/11.97, allocations: 271.6 kB / 3.623 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1682/12.14, allocations: 8.876 MB / 3.631 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005418/12.14, allocations: 63.12 kB / 3.631 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/12.16, allocations: 5.508 MB / 3.637 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/12.16, allocations: 2.625 kB / 3.637 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/12.18, allocations: 6.758 MB / 3.643 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/12.18, allocations: 0.6942 MB / 3.644 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/12.18, allocations: 33.97 kB / 3.644 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005045/12.19, allocations: 224.2 kB / 3.644 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/12.19, allocations: 135.8 kB / 3.644 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/12.19, allocations: 80.28 kB / 3.644 GB, free: 9.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001374/12.19, allocations: 0.7421 MB / 3.645 GB, free: 9.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/12.19, allocations: 1.125 kB / 3.645 GB, free: 9.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01023/12.2, allocations: 2.241 MB / 3.647 GB, free: 9.164 MB / 394.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.03588/12.24, allocations: 9.71 MB / 3.657 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03349/12.27, allocations: 6.201 MB / 3.663 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/12.27, allocations: 0.9844 kB / 3.663 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0135/12.28, allocations: 2.83 MB / 3.666 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00569/12.29, allocations: 0.5926 MB / 3.666 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6934/12.98, allocations: 125.8 MB / 3.789 GB, free: 31.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/12.98, allocations: 1.643 MB / 3.791 GB, free: 31.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/12.98, allocations: 0.8102 MB / 3.791 GB, free: 31.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/12.98, allocations: 3.281 kB / 3.791 GB, free: 31.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.989/17.97, allocations: 81.87 MB / 3.871 GB, free: 50.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat