Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.88e-05/5.889e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 48.69 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.844/7.957, allocations: 2.485 GB / 2.8 GB, free: 82.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/7.958, allocations: 81.39 kB / 2.8 GB, free: 82.36 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 1.926/9.883, allocations: 389.4 MB / 3.18 GB, free: 18.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/9.883, allocations: 0 / 3.18 GB, free: 18.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.965e-05/9.883, allocations: 8 kB / 3.18 GB, free: 18.85 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006569/9.89, allocations: 1.506 MB / 3.181 GB, free: 17.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/9.89, allocations: 8.031 kB / 3.181 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/9.89, allocations: 74.53 kB / 3.181 GB, free: 17.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/9.893, allocations: 275.1 kB / 3.182 GB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/9.894, allocations: 477.5 kB / 3.182 GB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/9.895, allocations: 33 kB / 3.182 GB, free: 16.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/9.895, allocations: 36.69 kB / 3.182 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/9.897, allocations: 0.6805 MB / 3.183 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/9.897, allocations: 352 / 3.183 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/9.897, allocations: 23.95 kB / 3.183 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/9.897, allocations: 12 kB / 3.183 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/9.899, allocations: 0.5518 MB / 3.183 GB, free: 15.08 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.004299/9.903, allocations: 2.871 MB / 3.186 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/9.905, allocations: 450.4 kB / 3.187 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/9.905, allocations: 148.8 kB / 3.187 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6879/10.59, allocations: 96.23 MB / 3.281 GB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/10.59, allocations: 38.66 kB / 3.281 GB, free: 17.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.567e-06/10.59, allocations: 0 / 3.281 GB, free: 17.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.003027/10.6, allocations: 0.6866 MB / 3.282 GB, free: 17.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/10.6, allocations: 112.4 kB / 3.282 GB, free: 17.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/10.6, allocations: 298.4 kB / 3.282 GB, free: 16.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/10.6, allocations: 28.95 kB / 3.282 GB, free: 16.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/10.6, allocations: 309.8 kB / 3.282 GB, free: 16.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/10.6, allocations: 105.2 kB / 3.282 GB, free: 16.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/10.6, allocations: 7.188 kB / 3.282 GB, free: 16.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/10.6, allocations: 332.4 kB / 3.283 GB, free: 16.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/10.6, allocations: 109 kB / 3.283 GB, free: 16.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/10.6, allocations: 255.5 kB / 3.283 GB, free: 16.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/10.6, allocations: 142.8 kB / 3.283 GB, free: 16.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/10.6, allocations: 0 / 3.283 GB, free: 16.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00103/10.6, allocations: 414.1 kB / 3.284 GB, free: 16.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003667/10.6, allocations: 1.747 MB / 3.285 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/10.6, allocations: 3.875 kB / 3.285 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/10.6, allocations: 201 kB / 3.285 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/10.6, allocations: 100.1 kB / 3.286 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000595/10.6, allocations: 0.5836 MB / 3.286 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/10.6, allocations: 63.34 kB / 3.286 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/10.6, allocations: 25.91 kB / 3.286 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/10.6, allocations: 3.562 kB / 3.286 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008254/10.61, allocations: 346.6 kB / 3.287 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/10.61, allocations: 5.094 kB / 3.287 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/10.61, allocations: 7.656 kB / 3.287 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/10.61, allocations: 110.8 kB / 3.287 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/10.61, allocations: 11.73 kB / 3.287 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/10.61, allocations: 55.06 kB / 3.287 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/10.61, allocations: 25.56 kB / 3.287 GB, free: 13.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/10.61, allocations: 129.1 kB / 3.287 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/10.61, allocations: 45.02 kB / 3.287 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/10.61, allocations: 1.982 MB / 3.289 GB, free: 29.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/10.61, allocations: 25.05 kB / 3.289 GB, free: 29.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/10.61, allocations: 3.406 kB / 3.289 GB, free: 29.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/10.61, allocations: 7.422 kB / 3.289 GB, free: 29.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/10.61, allocations: 0.9866 MB / 3.29 GB, free: 29.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/10.61, allocations: 3.391 kB / 3.29 GB, free: 29.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/10.61, allocations: 70.3 kB / 3.29 GB, free: 29.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/10.62, allocations: 0.7089 MB / 3.291 GB, free: 29.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/10.62, allocations: 17.48 kB / 3.291 GB, free: 29.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/10.62, allocations: 0.9911 MB / 3.292 GB, free: 28.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/10.62, allocations: 0 / 3.292 GB, free: 28.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/10.62, allocations: 1.247 MB / 3.293 GB, free: 28.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/10.62, allocations: 239.6 kB / 3.293 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/10.62, allocations: 14.55 kB / 3.293 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/10.62, allocations: 31 kB / 3.293 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/10.62, allocations: 28.75 kB / 3.293 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/10.62, allocations: 16.34 kB / 3.293 GB, free: 28.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000487/10.62, allocations: 304.2 kB / 3.293 GB, free: 28.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.483e-06/10.62, allocations: 0 / 3.293 GB, free: 28.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005875/10.63, allocations: 1.198 MB / 3.295 GB, free: 28.04 MB / 458.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/10.64, allocations: 3.11 MB / 3.298 GB, free: 27.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/10.64, allocations: 0.6879 MB / 3.298 GB, free: 27.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/10.64, allocations: 0.8125 kB / 3.298 GB, free: 27.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/10.64, allocations: 457.4 kB / 3.299 GB, free: 27.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/10.64, allocations: 212.8 kB / 3.299 GB, free: 27.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7933/11.44, allocations: 150 MB / 3.445 GB, free: 83.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/11.44, allocations: 0.9995 MB / 3.446 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/11.44, allocations: 280.2 kB / 3.447 GB, free: 82.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/11.44, allocations: 1.969 kB / 3.447 GB, free: 82.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.715/15.15, allocations: 34.66 MB / 3.48 GB, free: 79.57 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat