Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.188e-05, allocations: 10.8 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 50.4 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.174/8.28, allocations: 2.814 GB / 3.148 GB, free: 27.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/8.281, allocations: 73.72 kB / 3.148 GB, free: 27.29 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 4.247/12.53, allocations: 0.7561 GB / 3.904 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/12.53, allocations: 0 / 3.904 GB, free: 33.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001375/12.53, allocations: 43.09 kB / 3.904 GB, free: 33.12 MB / 474.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.01599/12.54, allocations: 2.72 MB / 3.907 GB, free: 31.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/12.54, allocations: 8.594 kB / 3.907 GB, free: 31.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008251/12.55, allocations: 170.8 kB / 3.907 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/12.55, allocations: 0.6044 MB / 3.908 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/12.56, allocations: 1.065 MB / 3.909 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/12.56, allocations: 101.4 kB / 3.909 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/12.56, allocations: 101.3 kB / 3.909 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006998/12.56, allocations: 2.236 MB / 3.911 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/12.56, allocations: 9.156 kB / 3.911 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/12.56, allocations: 49.66 kB / 3.911 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/12.56, allocations: 85.19 kB / 3.911 GB, free: 31.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007196/12.57, allocations: 2.241 MB / 3.914 GB, free: 31.09 MB / 474.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.01837/12.59, allocations: 9.205 MB / 3.923 GB, free: 26.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/12.6, allocations: 1.737 MB / 3.924 GB, free: 26.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/12.6, allocations: 0.6834 MB / 3.925 GB, free: 26.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09105/12.69, allocations: 24.52 MB / 3.949 GB, free: 27.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.495e-05/12.69, allocations: 55.39 kB / 3.949 GB, free: 27.03 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002732/12.69, allocations: 206.1 kB / 3.949 GB, free: 26.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 8.687e-06/12.69, allocations: 2.531 kB / 3.949 GB, free: 26.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.02035/12.71, allocations: 2.601 MB / 3.952 GB, free: 26.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/12.71, allocations: 221 kB / 3.952 GB, free: 26.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/12.71, allocations: 0.8267 MB / 3.953 GB, free: 26.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005219/12.71, allocations: 45.45 kB / 3.953 GB, free: 26.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/12.72, allocations: 0.5532 MB / 3.953 GB, free: 26.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/12.72, allocations: 371.3 kB / 3.954 GB, free: 25.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/12.72, allocations: 25.09 kB / 3.954 GB, free: 25.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/12.72, allocations: 356.4 kB / 3.954 GB, free: 25.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/12.72, allocations: 0.5548 MB / 3.954 GB, free: 25.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/12.72, allocations: 0.905 MB / 3.955 GB, free: 25.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/12.72, allocations: 0.6759 MB / 3.956 GB, free: 25.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/12.72, allocations: 3 kB / 3.956 GB, free: 25.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004547/12.73, allocations: 1.755 MB / 3.958 GB, free: 25.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001512/12.73, allocations: 3.744 MB / 3.961 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/12.73, allocations: 13.67 kB / 3.961 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05387/12.78, allocations: 2.984 MB / 3.964 GB, free: 21.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/12.78, allocations: 282.1 kB / 3.965 GB, free: 21.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/12.79, allocations: 1.396 MB / 3.966 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/12.79, allocations: 145.5 kB / 3.966 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/12.79, allocations: 71.34 kB / 3.966 GB, free: 20.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/12.79, allocations: 6.875 kB / 3.966 GB, free: 20.58 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005477/12.8, allocations: 1.56 MB / 3.968 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/12.8, allocations: 11.38 kB / 3.968 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/12.8, allocations: 194.5 kB / 3.968 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/12.8, allocations: 345.3 kB / 3.968 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/12.8, allocations: 0.7416 MB / 3.969 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/12.8, allocations: 140.6 kB / 3.969 GB, free: 19.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/12.8, allocations: 71.02 kB / 3.969 GB, free: 19.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005725/12.8, allocations: 193.6 kB / 3.969 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/12.81, allocations: 128.2 kB / 3.969 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009913/12.81, allocations: 5.487 MB / 3.975 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-05/12.82, allocations: 57.94 kB / 3.975 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/12.82, allocations: 0 / 3.975 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/12.82, allocations: 7.5 kB / 3.975 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/12.83, allocations: 7.535 MB / 3.982 GB, free: 18.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/12.83, allocations: 3.938 kB / 3.982 GB, free: 18.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/12.83, allocations: 212.9 kB / 3.982 GB, free: 18.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0468/12.88, allocations: 4.283 MB / 3.987 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/12.88, allocations: 30.48 kB / 3.987 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004368/12.88, allocations: 2.341 MB / 3.989 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/12.88, allocations: 6.531 kB / 3.989 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006945/12.89, allocations: 3.504 MB / 3.992 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/12.89, allocations: 0.6457 MB / 3.993 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/12.89, allocations: 24.69 kB / 3.993 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/12.89, allocations: 131.7 kB / 3.993 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/12.89, allocations: 97.03 kB / 3.993 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/12.89, allocations: 45.89 kB / 3.993 GB, free: 17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002073/12.9, allocations: 1.039 MB / 3.994 GB, free: 16.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/12.9, allocations: 1.031 kB / 3.994 GB, free: 16.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01003/12.91, allocations: 1.952 MB / 3.996 GB, free: 16.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.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 (93): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/12.92, allocations: 5.816 MB / 4.002 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008591/12.93, allocations: 2.679 MB / 4.005 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/12.93, allocations: 0 / 4.005 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/12.94, allocations: 1.379 MB / 4.006 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006203/12.94, allocations: 0.6777 MB / 4.007 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/12.96, allocations: 4.259 MB / 4.011 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/12.96, allocations: 1.622 MB / 4.012 GB, free: 13.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/12.96, allocations: 0.815 MB / 4.013 GB, free: 13.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/12.96, allocations: 0 / 4.013 GB, free: 13.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.724/17.68, allocations: 66.37 MB / 4.078 GB, free: 61.13 MB / 0.4948 GB