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.821/1.821, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.382e-05, allocations: 9.406 kB / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09347, allocations: 44.51 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.578/7.671, allocations: 2.64 GB / 2.933 GB, free: 68.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/7.672, allocations: 80.02 kB / 2.933 GB, free: 68.9 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.882/11.55, allocations: 0.7434 GB / 3.676 GB, free: 34.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/11.55, allocations: 0 / 3.676 GB, free: 34.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001617/11.55, allocations: 40.86 kB / 3.676 GB, free: 34.54 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.01494/11.57, allocations: 2.727 MB / 3.679 GB, free: 33.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/11.57, allocations: 11.31 kB / 3.679 GB, free: 33.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000525/11.57, allocations: 175 kB / 3.679 GB, free: 33.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/11.58, allocations: 0.5957 MB / 3.679 GB, free: 33.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/11.58, allocations: 1.085 MB / 3.68 GB, free: 32.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/11.58, allocations: 98.81 kB / 3.681 GB, free: 32.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/11.58, allocations: 102.6 kB / 3.681 GB, free: 32.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/11.59, allocations: 2.25 MB / 3.683 GB, free: 32.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/11.59, allocations: 3.281 kB / 3.683 GB, free: 32.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/11.59, allocations: 55.02 kB / 3.683 GB, free: 32.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/11.59, allocations: 82.48 kB / 3.683 GB, free: 32.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007154/11.59, allocations: 2.263 MB / 3.685 GB, free: 32.5 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.01566/11.61, allocations: 8.92 MB / 3.694 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005287/11.62, allocations: 1.652 MB / 3.696 GB, free: 27.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/11.62, allocations: 0.6413 MB / 3.696 GB, free: 27.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05679/11.67, allocations: 18.84 MB / 3.715 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/11.67, allocations: 41.66 kB / 3.715 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/11.68, allocations: 208.7 kB / 3.715 GB, free: 15.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 4.038e-06/11.68, allocations: 0 / 3.715 GB, free: 15.5 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.1198/11.8, allocations: 11.92 MB / 3.726 GB, free: 14.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/11.8, allocations: 224.1 kB / 3.727 GB, free: 14.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/11.8, allocations: 0.7442 MB / 3.727 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006474/11.8, allocations: 54.73 kB / 3.727 GB, free: 14.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/11.8, allocations: 0.5928 MB / 3.728 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/11.8, allocations: 0.5282 MB / 3.729 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/11.8, allocations: 35.69 kB / 3.729 GB, free: 13.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/11.8, allocations: 382.6 kB / 3.729 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/11.8, allocations: 1.243 MB / 3.73 GB, free: 13.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003731/11.81, allocations: 1.704 MB / 3.732 GB, free: 12.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/11.81, allocations: 1.364 MB / 3.733 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/11.81, allocations: 3.625 kB / 3.733 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01269/11.82, allocations: 4.037 MB / 3.737 GB, free: 12.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002237/11.83, allocations: 4.793 MB / 3.742 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/11.83, allocations: 15.69 kB / 3.742 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1649/11.99, allocations: 7.955 MB / 3.75 GB, free: 23.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/11.99, allocations: 385 kB / 3.75 GB, free: 23.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/12.01, allocations: 4.645 MB / 3.754 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/12.02, allocations: 241.2 kB / 3.755 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009165/12.02, allocations: 132 kB / 3.755 GB, free: 22.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/12.02, allocations: 3.875 kB / 3.755 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01561/12.03, allocations: 3.894 MB / 3.759 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/12.04, allocations: 13.62 kB / 3.759 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/12.05, allocations: 2.588 MB / 3.761 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/12.05, allocations: 449.8 kB / 3.762 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/12.07, allocations: 4.057 MB / 3.766 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/12.07, allocations: 243 kB / 3.766 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/12.07, allocations: 127.9 kB / 3.766 GB, free: 21.21 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.000936/12.07, allocations: 215.2 kB / 3.766 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/12.08, allocations: 134.8 kB / 3.766 GB, free: 21.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02732/12.1, allocations: 8.916 MB / 3.775 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.716e-05/12.1, allocations: 64.66 kB / 3.775 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/12.1, allocations: 0 / 3.775 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.227e-05/12.1, allocations: 11.12 kB / 3.775 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/12.13, allocations: 11.88 MB / 3.787 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/12.13, allocations: 3.594 kB / 3.787 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/12.14, allocations: 270.2 kB / 3.787 GB, free: 18.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1477/12.28, allocations: 8.883 MB / 3.796 GB, free: 16.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005783/12.28, allocations: 59.22 kB / 3.796 GB, free: 16.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/12.3, allocations: 5.495 MB / 3.801 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/12.3, allocations: 9.031 kB / 3.801 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/12.33, allocations: 6.767 MB / 3.808 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/12.33, allocations: 0.6806 MB / 3.808 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/12.33, allocations: 39.75 kB / 3.808 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005563/12.34, allocations: 233.9 kB / 3.809 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006509/12.34, allocations: 132.2 kB / 3.809 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00038/12.34, allocations: 80.81 kB / 3.809 GB, free: 5.074 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001703/12.34, allocations: 0.7412 MB / 3.809 GB, free: 4.395 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/12.34, allocations: 0 / 3.809 GB, free: 4.395 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0117/12.35, allocations: 2.253 MB / 3.812 GB, free: 2.184 MB / 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.4388/12.79, allocations: 9.904 MB / 3.821 GB, free: 46.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0315/12.82, allocations: 6 MB / 3.827 GB, free: 46.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/12.82, allocations: 1.812 kB / 3.827 GB, free: 46.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01341/12.83, allocations: 2.821 MB / 3.83 GB, free: 46.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/12.84, allocations: 0.5838 MB / 3.831 GB, free: 46.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3508/13.19, allocations: 127 MB / 3.955 GB, free: 22.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/13.19, allocations: 1.642 MB / 3.956 GB, free: 21.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/13.19, allocations: 0.8087 MB / 3.957 GB, free: 21.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/13.19, allocations: 1.594 kB / 3.957 GB, free: 21.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.993/18.19, allocations: 82.07 MB / 4.037 GB, free: 33.21 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