Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9957/0.9957, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.172e-05, allocations: 8 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.178, allocations: 25.15 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.282/4.46, allocations: 1.435 GB / 1.607 GB, free: 42.75 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/4.46, allocations: 70.09 kB / 1.608 GB, free: 42.72 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:725:9-730:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:335:3-337: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.676/8.136, allocations: 0.6623 GB / 2.27 GB, free: 16.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/8.136, allocations: 4.641 kB / 2.27 GB, free: 16.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001745/8.136, allocations: 37.5 kB / 2.27 GB, free: 16.17 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01473/8.151, allocations: 2.509 MB / 2.272 GB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/8.151, allocations: 9.875 kB / 2.272 GB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006233/8.152, allocations: 166 kB / 2.272 GB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/8.152, allocations: 156 kB / 2.273 GB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/8.156, allocations: 1.007 MB / 2.274 GB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/8.156, allocations: 93.75 kB / 2.274 GB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/8.156, allocations: 97.61 kB / 2.274 GB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006181/8.163, allocations: 2.012 MB / 2.276 GB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/8.163, allocations: 0 / 2.276 GB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/8.163, allocations: 51.09 kB / 2.276 GB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/8.163, allocations: 83.25 kB / 2.276 GB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/8.17, allocations: 2.296 MB / 2.278 GB, free: 14.22 MB / 282.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.01896/8.189, allocations: 9.056 MB / 2.287 GB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/8.193, allocations: 1.247 MB / 2.288 GB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/8.195, allocations: 0.6581 MB / 2.289 GB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7147/8.909, allocations: 134.9 MB / 2.421 GB, free: 20.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/8.909, allocations: 46.19 kB / 2.421 GB, free: 20 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/8.911, allocations: 195.6 kB / 2.421 GB, free: 19.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.128e-06/8.911, allocations: 0 / 2.421 GB, free: 19.99 MB / 330.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=152): time 0.09325/9.004, allocations: 9.961 MB / 2.431 GB, free: 19.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/9.004, allocations: 225.2 kB / 2.431 GB, free: 18.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/9.006, allocations: 0.7293 MB / 2.431 GB, free: 18.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000581/9.007, allocations: 51.73 kB / 2.432 GB, free: 18.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/9.007, allocations: 0.5958 MB / 2.432 GB, free: 18.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006798/9.008, allocations: 0.504 MB / 2.433 GB, free: 18.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/9.008, allocations: 32.78 kB / 2.433 GB, free: 18.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/9.008, allocations: 381.7 kB / 2.433 GB, free: 17.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/9.011, allocations: 1.201 MB / 2.434 GB, free: 17.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/9.015, allocations: 1.641 MB / 2.436 GB, free: 17.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/9.018, allocations: 1.348 MB / 2.437 GB, free: 17.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/9.018, allocations: 6.688 kB / 2.437 GB, free: 17.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.02584/9.044, allocations: 4.62 MB / 2.442 GB, free: 17.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/9.044, allocations: 17.47 kB / 2.442 GB, free: 17.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/9.044, allocations: 11.56 kB / 2.442 GB, free: 17.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07734/9.122, allocations: 5.75 MB / 2.447 GB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/9.125, allocations: 363.1 kB / 2.448 GB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/9.144, allocations: 9.363 MB / 2.457 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/9.149, allocations: 201.6 kB / 2.457 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006843/9.15, allocations: 124.3 kB / 2.457 GB, free: 10.8 MB / 330.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: 11 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,orifice.state_b.phase,orifice.state_a.phase,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 initialization (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 19,5 31,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007502/9.15, allocations: 212.7 kB / 2.457 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/9.151, allocations: 132.7 kB / 2.457 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/9.168, allocations: 7.153 MB / 2.464 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/9.168, allocations: 53.45 kB / 2.464 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/9.168, allocations: 1.562 kB / 2.464 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/9.168, allocations: 13.66 kB / 2.464 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/9.197, allocations: 11.14 MB / 2.475 GB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/9.197, allocations: 0 / 2.475 GB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/9.2, allocations: 247.9 kB / 2.476 GB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2986/9.498, allocations: 6.453 MB / 2.482 GB, free: 62.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006157/9.499, allocations: 66.89 kB / 2.482 GB, free: 62.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/9.518, allocations: 10.05 MB / 2.492 GB, free: 56.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/9.518, allocations: 0 / 2.492 GB, free: 56.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/9.539, allocations: 6.015 MB / 2.498 GB, free: 55.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/9.541, allocations: 0.6266 MB / 2.498 GB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007836/9.542, allocations: 39.5 kB / 2.498 GB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0174/9.56, allocations: 188.1 kB / 2.498 GB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008867/9.561, allocations: 137.8 kB / 2.499 GB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005329/9.561, allocations: 84.75 kB / 2.499 GB, free: 55.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001661/9.563, allocations: 0.5611 MB / 2.499 GB, free: 55.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.62e-07/9.563, allocations: 1.875 kB / 2.499 GB, free: 55.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.02582/9.589, allocations: 1.96 MB / 2.501 GB, free: 55.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.phase,$cse1.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse31.phase,$cse34.phase,$cse39.phase,$cse39.region,$cse42.phase,$cse42.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 (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {5 17,1 1,6 42,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03548/9.624, allocations: 8.54 MB / 2.509 GB, free: 54.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01761/9.642, allocations: 4.069 MB / 2.513 GB, free: 54.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/9.642, allocations: 3.344 kB / 2.513 GB, free: 54.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01265/9.655, allocations: 2.863 MB / 2.516 GB, free: 54.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005986/9.661, allocations: 0.5905 MB / 2.517 GB, free: 54.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/9.678, allocations: 5.071 MB / 2.522 GB, free: 53.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/9.679, allocations: 1.51 MB / 2.523 GB, free: 52.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/9.68, allocations: 0.6957 MB / 2.524 GB, free: 52.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/9.68, allocations: 2.625 kB / 2.524 GB, free: 52.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.516/15.2, allocations: 140 MB / 2.661 GB, free: 48.27 MB / 330.7 MB