Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.636e-05, allocations: 5.406 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.612/7.737, allocations: 2.64 GB / 2.933 GB, free: 63.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/7.738, allocations: 75.41 kB / 2.933 GB, free: 63 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.988/11.73, allocations: 0.7434 GB / 3.676 GB, free: 34.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/11.73, allocations: 0 / 3.676 GB, free: 34.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001682/11.73, allocations: 44.53 kB / 3.676 GB, free: 34.83 MB / 442.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.01561/11.74, allocations: 2.718 MB / 3.679 GB, free: 33.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/11.74, allocations: 11.41 kB / 3.679 GB, free: 33.58 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006917/11.74, allocations: 169.9 kB / 3.679 GB, free: 33.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006777/11.75, allocations: 0.6016 MB / 3.679 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/11.75, allocations: 1.089 MB / 3.681 GB, free: 33.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/11.75, allocations: 89.12 kB / 3.681 GB, free: 33.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/11.75, allocations: 112.7 kB / 3.681 GB, free: 33.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/11.76, allocations: 2.238 MB / 3.683 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/11.76, allocations: 4.438 kB / 3.683 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/11.76, allocations: 50.8 kB / 3.683 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/11.76, allocations: 89 kB / 3.683 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008069/11.77, allocations: 2.237 MB / 3.685 GB, free: 32.77 MB / 442.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.01791/11.79, allocations: 8.923 MB / 3.694 GB, free: 27.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005726/11.79, allocations: 1.64 MB / 3.696 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/11.8, allocations: 0.6356 MB / 3.696 GB, free: 27.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05691/11.85, allocations: 18.85 MB / 3.715 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/11.85, allocations: 44.38 kB / 3.715 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001952/11.85, allocations: 199.6 kB / 3.715 GB, free: 15.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 6.201e-06/11.85, allocations: 2.469 kB / 3.715 GB, free: 15.77 MB / 442.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.1176/11.97, allocations: 11.92 MB / 3.726 GB, free: 14.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/11.97, allocations: 222.6 kB / 3.727 GB, free: 14.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/11.97, allocations: 0.7444 MB / 3.727 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005762/11.97, allocations: 58.42 kB / 3.727 GB, free: 14.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/11.98, allocations: 0.5843 MB / 3.728 GB, free: 14.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007445/11.98, allocations: 0.5365 MB / 3.729 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/11.98, allocations: 34.19 kB / 3.729 GB, free: 13.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/11.98, allocations: 380.7 kB / 3.729 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/11.98, allocations: 1.241 MB / 3.73 GB, free: 13.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/11.98, allocations: 1.69 MB / 3.732 GB, free: 12.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/11.99, allocations: 1.367 MB / 3.733 GB, free: 12.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/11.99, allocations: 2.906 kB / 3.733 GB, free: 12.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01252/12, allocations: 4.01 MB / 3.737 GB, free: 12.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002384/12, allocations: 4.793 MB / 3.742 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.494e-05/12, allocations: 13.41 kB / 3.742 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.165/12.17, allocations: 7.948 MB / 3.749 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/12.17, allocations: 387 kB / 3.75 GB, free: 23.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/12.19, allocations: 4.637 MB / 3.754 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/12.19, allocations: 248 kB / 3.755 GB, free: 22.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006556/12.19, allocations: 133.7 kB / 3.755 GB, free: 22.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/12.19, allocations: 3.844 kB / 3.755 GB, free: 22.58 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/12.21, allocations: 3.863 MB / 3.759 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/12.21, allocations: 14.62 kB / 3.759 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/12.22, allocations: 2.592 MB / 3.761 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/12.22, allocations: 442.2 kB / 3.762 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/12.24, allocations: 4.046 MB / 3.765 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/12.25, allocations: 248.8 kB / 3.766 GB, free: 21.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/12.25, allocations: 128 kB / 3.766 GB, free: 21.37 MB / 458.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.0009055/12.25, allocations: 215.3 kB / 3.766 GB, free: 21.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/12.25, allocations: 133.6 kB / 3.766 GB, free: 21.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02657/12.27, allocations: 8.913 MB / 3.775 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/12.27, allocations: 68.3 kB / 3.775 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/12.27, allocations: 0 / 3.775 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-05/12.27, allocations: 7.125 kB / 3.775 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/12.3, allocations: 11.88 MB / 3.787 GB, free: 18.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/12.3, allocations: 3.031 kB / 3.787 GB, free: 18.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/12.31, allocations: 273 kB / 3.787 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1464/12.45, allocations: 8.883 MB / 3.795 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006089/12.45, allocations: 64.39 kB / 3.796 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/12.47, allocations: 5.499 MB / 3.801 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/12.47, allocations: 2.578 kB / 3.801 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/12.5, allocations: 6.753 MB / 3.807 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/12.5, allocations: 0.6837 MB / 3.808 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/12.5, allocations: 32 kB / 3.808 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008023/12.51, allocations: 237.7 kB / 3.808 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008165/12.51, allocations: 125.9 kB / 3.809 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005162/12.51, allocations: 81.42 kB / 3.809 GB, free: 2.883 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00227/12.52, allocations: 0.7398 MB / 3.809 GB, free: 2.203 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.853e-06/12.52, allocations: 4 kB / 3.809 GB, free: 2.199 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.04029/12.56, allocations: 2.27 MB / 3.812 GB, free: 0 / 458.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.413/12.97, allocations: 9.726 MB / 3.821 GB, free: 46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03073/13, allocations: 5.939 MB / 3.827 GB, free: 45.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/13, allocations: 0 / 3.827 GB, free: 45.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/13.01, allocations: 2.82 MB / 3.83 GB, free: 45.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005666/13.02, allocations: 0.5892 MB / 3.83 GB, free: 45.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.368/13.39, allocations: 127 MB / 3.954 GB, free: 20.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/13.39, allocations: 1.641 MB / 3.956 GB, free: 19.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/13.39, allocations: 0.8042 MB / 3.957 GB, free: 19.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.093e-06/13.39, allocations: 4 kB / 3.957 GB, free: 19.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.037/18.43, allocations: 82.14 MB / 4.037 GB, free: 35.05 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat