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.704/1.704, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.303e-05, allocations: 3.938 kB / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.074/7.334, allocations: 2.529 GB / 2.782 GB, free: 75.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/7.335, allocations: 77.22 kB / 2.782 GB, free: 75.38 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.716/11.05, allocations: 0.7178 GB / 3.499 GB, free: 18.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/11.05, allocations: 224 / 3.499 GB, free: 18.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001497/11.05, allocations: 39.89 kB / 3.499 GB, free: 18.21 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.0147/11.07, allocations: 2.622 MB / 3.502 GB, free: 16.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/11.07, allocations: 7.406 kB / 3.502 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/11.07, allocations: 0.5907 MB / 3.503 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/11.08, allocations: 1.089 MB / 3.504 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/11.08, allocations: 44.59 kB / 3.504 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/11.08, allocations: 61.25 kB / 3.504 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004458/11.08, allocations: 1.738 MB / 3.505 GB, free: 16.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/11.08, allocations: 1.542 MB / 3.507 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/11.08, allocations: 8.188 kB / 3.507 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/11.08, allocations: 3.125 kB / 3.507 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/11.09, allocations: 88.09 kB / 3.507 GB, free: 16.12 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.8102/11.9, allocations: 136.7 MB / 3.641 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/11.9, allocations: 1.042 MB / 3.642 GB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/11.9, allocations: 0.5324 MB / 3.642 GB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05163/11.95, allocations: 17.42 MB / 3.659 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/11.95, allocations: 45.19 kB / 3.659 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001788/11.95, allocations: 178.4 kB / 3.659 GB, free: 10.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.358e-06/11.95, allocations: 0 / 3.659 GB, free: 10.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.115/12.07, allocations: 9.749 MB / 3.669 GB, free: 10.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/12.07, allocations: 220.8 kB / 3.669 GB, free: 9.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/12.07, allocations: 0.7441 MB / 3.67 GB, free: 9.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004969/12.07, allocations: 31.67 kB / 3.67 GB, free: 9.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/12.07, allocations: 0.6525 MB / 3.671 GB, free: 9.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007677/12.07, allocations: 431.4 kB / 3.671 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/12.07, allocations: 0 / 3.671 GB, free: 9.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/12.07, allocations: 378.2 kB / 3.671 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/12.08, allocations: 1.268 MB / 3.673 GB, free: 8.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/12.08, allocations: 1.703 MB / 3.674 GB, free: 8.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/12.09, allocations: 1.888 MB / 3.676 GB, free: 8.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/12.09, allocations: 6.625 kB / 3.676 GB, free: 8.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01944/12.11, allocations: 4.599 MB / 3.681 GB, free: 8.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001936/12.11, allocations: 4.798 MB / 3.685 GB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/12.11, allocations: 14.09 kB / 3.685 GB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/12.13, allocations: 3.962 MB / 3.689 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/12.14, allocations: 328 kB / 3.689 GB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/12.16, allocations: 5.743 MB / 3.695 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006887/12.17, allocations: 280.3 kB / 3.695 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/12.17, allocations: 120.9 kB / 3.695 GB, free: 17.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/12.17, allocations: 3.812 kB / 3.695 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01822/12.18, allocations: 2.904 MB / 3.698 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/12.18, allocations: 13.98 kB / 3.698 GB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/12.19, allocations: 0.5654 MB / 3.699 GB, free: 17.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/12.19, allocations: 459.8 kB / 3.699 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/12.2, allocations: 1.787 MB / 3.701 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/12.2, allocations: 183.6 kB / 3.701 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/12.2, allocations: 98.69 kB / 3.701 GB, free: 16.7 MB / 426.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.001039/12.2, allocations: 162.9 kB / 3.701 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01678/12.22, allocations: 4.115 MB / 3.705 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007103/12.22, allocations: 130.6 kB / 3.706 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/12.24, allocations: 6.683 MB / 3.712 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/12.24, allocations: 35.52 kB / 3.712 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/12.24, allocations: 1.125 kB / 3.712 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/12.24, allocations: 8.453 kB / 3.712 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/12.27, allocations: 8.997 MB / 3.721 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/12.27, allocations: 2.812 kB / 3.721 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/12.27, allocations: 148 kB / 3.721 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01756/12.28, allocations: 5.232 MB / 3.726 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/12.28, allocations: 43.09 kB / 3.726 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/12.31, allocations: 6.908 MB / 3.733 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/12.31, allocations: 7.5 kB / 3.733 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01846/12.32, allocations: 5.652 MB / 3.738 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/12.33, allocations: 0.6184 MB / 3.739 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/12.33, allocations: 10.47 kB / 3.739 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005341/12.33, allocations: 192.2 kB / 3.739 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/12.33, allocations: 96.75 kB / 3.739 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/12.33, allocations: 69.92 kB / 3.739 GB, free: 4.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001661/12.34, allocations: 0.779 MB / 3.74 GB, free: 3.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.91e-07/12.34, allocations: 0 / 3.74 GB, free: 3.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01068/12.35, allocations: 2.046 MB / 3.742 GB, free: 2.023 MB / 426.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.339/12.68, allocations: 8.368 MB / 3.75 GB, free: 63.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02078/12.71, allocations: 4.781 MB / 3.755 GB, free: 63.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/12.71, allocations: 1.812 kB / 3.755 GB, free: 63.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01088/12.72, allocations: 2.17 MB / 3.757 GB, free: 63.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/12.72, allocations: 488.5 kB / 3.758 GB, free: 63.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/12.74, allocations: 4.258 MB / 3.762 GB, free: 62.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/12.74, allocations: 1.45 MB / 3.763 GB, free: 61.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/12.74, allocations: 0.6582 MB / 3.764 GB, free: 61.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/12.74, allocations: 0 / 3.764 GB, free: 61.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.633/17.37, allocations: 75.85 MB / 3.838 GB, free: 56.47 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