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.978/1.978, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.652e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3118, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.345/7.657, allocations: 2.639 GB / 2.926 GB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/7.657, allocations: 81.58 kB / 2.926 GB, free: 15.5 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.983/11.64, allocations: 0.7368 GB / 3.663 GB, free: 26.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/11.64, allocations: 0 / 3.663 GB, free: 26.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001369/11.64, allocations: 37.98 kB / 3.663 GB, free: 26.04 MB / 426.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.01559/11.66, allocations: 2.72 MB / 3.666 GB, free: 24.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/11.66, allocations: 9.625 kB / 3.666 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/11.66, allocations: 0.5976 MB / 3.666 GB, free: 24.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/11.67, allocations: 1.086 MB / 3.668 GB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/11.67, allocations: 52.06 kB / 3.668 GB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/11.67, allocations: 60.22 kB / 3.668 GB, free: 24.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004331/11.67, allocations: 1.743 MB / 3.669 GB, free: 24.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/11.68, allocations: 1.544 MB / 3.671 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/11.68, allocations: 2.344 kB / 3.671 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/11.68, allocations: 9.188 kB / 3.671 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/11.68, allocations: 81.3 kB / 3.671 GB, free: 23.92 MB / 426.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.8533/12.53, allocations: 136.7 MB / 3.804 GB, free: 21.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/12.53, allocations: 1.049 MB / 3.805 GB, free: 21.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/12.53, allocations: 0.5399 MB / 3.806 GB, free: 21.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05521/12.59, allocations: 17.4 MB / 3.823 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/12.59, allocations: 47.19 kB / 3.823 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001923/12.59, allocations: 177.3 kB / 3.823 GB, free: 10.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 8.065e-06/12.59, allocations: 0 / 3.823 GB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.1168/12.71, allocations: 9.741 MB / 3.833 GB, free: 25.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/12.71, allocations: 223.3 kB / 3.833 GB, free: 25.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/12.71, allocations: 0.7436 MB / 3.834 GB, free: 25.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005663/12.71, allocations: 30.27 kB / 3.834 GB, free: 25.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/12.71, allocations: 0.6552 MB / 3.834 GB, free: 24.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008318/12.71, allocations: 429.5 kB / 3.835 GB, free: 24.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/12.71, allocations: 2.844 kB / 3.835 GB, free: 24.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/12.71, allocations: 370.3 kB / 3.835 GB, free: 24.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/12.72, allocations: 1.265 MB / 3.836 GB, free: 24.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/12.72, allocations: 1.707 MB / 3.838 GB, free: 23.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/12.73, allocations: 1.887 MB / 3.84 GB, free: 23.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/12.73, allocations: 4.469 kB / 3.84 GB, free: 23.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02014/12.75, allocations: 4.611 MB / 3.844 GB, free: 23.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002068/12.75, allocations: 4.796 MB / 3.849 GB, free: 18.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/12.75, allocations: 10.78 kB / 3.849 GB, free: 18.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02303/12.78, allocations: 3.964 MB / 3.853 GB, free: 18.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/12.78, allocations: 328.4 kB / 3.853 GB, free: 18.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/12.8, allocations: 5.751 MB / 3.859 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00707/12.81, allocations: 277.1 kB / 3.859 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/12.81, allocations: 121.3 kB / 3.859 GB, free: 17.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/12.81, allocations: 2.844 kB / 3.859 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01853/12.83, allocations: 2.905 MB / 3.862 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.148e-05/12.83, allocations: 12.91 kB / 3.862 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/12.83, allocations: 0.5725 MB / 3.863 GB, free: 17.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/12.84, allocations: 459.9 kB / 3.863 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/12.84, allocations: 1.791 MB / 3.865 GB, free: 16.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/12.84, allocations: 179.8 kB / 3.865 GB, free: 16.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/12.84, allocations: 99.47 kB / 3.865 GB, free: 16.28 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001065/12.85, allocations: 170.8 kB / 3.865 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01748/12.86, allocations: 4.12 MB / 3.869 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008813/12.86, allocations: 127.1 kB / 3.869 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02131/12.89, allocations: 6.678 MB / 3.876 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.43e-05/12.89, allocations: 41.45 kB / 3.876 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/12.89, allocations: 0 / 3.876 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/12.89, allocations: 6.75 kB / 3.876 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/12.91, allocations: 8.984 MB / 3.885 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/12.91, allocations: 4 kB / 3.885 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/12.91, allocations: 148.2 kB / 3.885 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0181/12.93, allocations: 5.242 MB / 3.89 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005005/12.93, allocations: 39.81 kB / 3.89 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/12.96, allocations: 6.902 MB / 3.897 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/12.96, allocations: 10.39 kB / 3.897 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/12.97, allocations: 5.643 MB / 3.902 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/12.98, allocations: 0.6243 MB / 3.903 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008971/12.98, allocations: 0.6562 kB / 3.903 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/12.98, allocations: 202.8 kB / 3.903 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/12.98, allocations: 96.84 kB / 3.903 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003704/12.98, allocations: 69.23 kB / 3.903 GB, free: 0.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001783/12.99, allocations: 0.7845 MB / 3.904 GB, free: 152 kB / 474.7 MB Notification: Performance of sort global known variables: time 9.31e-07/12.99, allocations: 0 / 3.904 GB, free: 152 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.3577/13.34, allocations: 2.058 MB / 3.906 GB, free: 73.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03107/13.38, allocations: 8.295 MB / 3.914 GB, free: 72.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02055/13.4, allocations: 4.777 MB / 3.919 GB, free: 72.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/13.4, allocations: 0.8594 kB / 3.919 GB, free: 72.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01099/13.41, allocations: 2.178 MB / 3.921 GB, free: 72.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/13.41, allocations: 497.1 kB / 3.921 GB, free: 72.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/13.43, allocations: 4.264 MB / 3.926 GB, free: 71.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/13.43, allocations: 1.448 MB / 3.927 GB, free: 71.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/13.43, allocations: 0.6575 MB / 3.928 GB, free: 71.2 MB / 474.7 MB Notification: Performance of SimCode: time 9.92e-07/13.43, allocations: 0 / 3.928 GB, free: 71.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.324/17.75, allocations: 76.04 MB / 4.002 GB, free: 66.61 MB / 474.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