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 2.194/2.194, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.293e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.043/8.163, allocations: 2.485 GB / 2.8 GB, free: 80.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/8.164, allocations: 84.27 kB / 2.8 GB, free: 80.69 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.932/10.1, allocations: 389.4 MB / 3.18 GB, free: 17.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/10.1, allocations: 0 / 3.18 GB, free: 17.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/10.1, allocations: 12 kB / 3.18 GB, free: 17.22 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.006182/10.1, allocations: 1.494 MB / 3.181 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.1, allocations: 12.03 kB / 3.181 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/10.1, allocations: 74.53 kB / 3.181 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/10.1, allocations: 274.9 kB / 3.182 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/10.11, allocations: 475.3 kB / 3.182 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/10.11, allocations: 33 kB / 3.182 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/10.11, allocations: 40.69 kB / 3.182 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/10.11, allocations: 0.6747 MB / 3.183 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/10.11, allocations: 4.281 kB / 3.183 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/10.11, allocations: 35.47 kB / 3.183 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/10.11, allocations: 8 kB / 3.183 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/10.11, allocations: 0.5573 MB / 3.183 GB, free: 13.45 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.00441/10.11, allocations: 2.87 MB / 3.186 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/10.12, allocations: 458.4 kB / 3.187 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/10.12, allocations: 148.8 kB / 3.187 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.686/10.8, allocations: 96.24 MB / 3.281 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/10.8, allocations: 36.19 kB / 3.281 GB, free: 15.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 4.498e-06/10.8, allocations: 0 / 3.281 GB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.003317/10.81, allocations: 0.6831 MB / 3.282 GB, free: 15.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/10.81, allocations: 104.6 kB / 3.282 GB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/10.81, allocations: 300.2 kB / 3.282 GB, free: 15.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.12e-05/10.81, allocations: 32.23 kB / 3.282 GB, free: 15.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/10.81, allocations: 310.2 kB / 3.282 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/10.81, allocations: 109.6 kB / 3.282 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/10.81, allocations: 7.062 kB / 3.282 GB, free: 15.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/10.81, allocations: 332 kB / 3.283 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/10.81, allocations: 108 kB / 3.283 GB, free: 14.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/10.81, allocations: 251.1 kB / 3.283 GB, free: 14.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/10.81, allocations: 144.2 kB / 3.283 GB, free: 14.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/10.81, allocations: 0 / 3.283 GB, free: 14.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001157/10.81, allocations: 431.6 kB / 3.284 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001497/10.81, allocations: 1.746 MB / 3.285 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/10.81, allocations: 3.938 kB / 3.285 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/10.81, allocations: 199 kB / 3.285 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/10.82, allocations: 98.52 kB / 3.286 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/10.82, allocations: 0.5876 MB / 3.286 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/10.82, allocations: 69.19 kB / 3.286 GB, free: 28.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/10.82, allocations: 18.66 kB / 3.286 GB, free: 28.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/10.82, allocations: 3.406 kB / 3.286 GB, free: 28.36 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008306/10.82, allocations: 357.1 kB / 3.287 GB, free: 28.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/10.82, allocations: 3.938 kB / 3.287 GB, free: 28.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/10.82, allocations: 7.875 kB / 3.287 GB, free: 28.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/10.82, allocations: 119.7 kB / 3.287 GB, free: 28.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/10.82, allocations: 5.75 kB / 3.287 GB, free: 28.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/10.82, allocations: 53.81 kB / 3.287 GB, free: 28.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/10.82, allocations: 19.12 kB / 3.287 GB, free: 28.34 MB / 458.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.0001992/10.82, allocations: 145.2 kB / 3.287 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/10.82, allocations: 39.06 kB / 3.287 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/10.82, allocations: 1.982 MB / 3.289 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/10.82, allocations: 23.98 kB / 3.289 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/10.82, allocations: 2.578 kB / 3.289 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/10.82, allocations: 0 / 3.289 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/10.82, allocations: 0.9977 MB / 3.29 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/10.82, allocations: 0 / 3.29 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/10.82, allocations: 68.48 kB / 3.29 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/10.83, allocations: 0.711 MB / 3.291 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/10.83, allocations: 11.55 kB / 3.291 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/10.83, allocations: 0.9962 MB / 3.292 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/10.83, allocations: 3.344 kB / 3.292 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/10.83, allocations: 1.239 MB / 3.293 GB, free: 26.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/10.83, allocations: 243 kB / 3.293 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/10.83, allocations: 10.56 kB / 3.293 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/10.83, allocations: 42.41 kB / 3.293 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/10.83, allocations: 33.64 kB / 3.293 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/10.83, allocations: 10.44 kB / 3.293 GB, free: 26.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004838/10.83, allocations: 302.2 kB / 3.293 GB, free: 26.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/10.83, allocations: 0 / 3.293 GB, free: 26.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005822/10.84, allocations: 1.196 MB / 3.295 GB, free: 26.66 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.01186/10.85, allocations: 3.095 MB / 3.298 GB, free: 25.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/10.85, allocations: 0.7041 MB / 3.298 GB, free: 25.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/10.85, allocations: 3.406 kB / 3.298 GB, free: 25.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007043/10.85, allocations: 461.3 kB / 3.299 GB, free: 25.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/10.85, allocations: 218 kB / 3.299 GB, free: 25.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8334/11.69, allocations: 150.8 MB / 3.446 GB, free: 81.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/11.69, allocations: 0.9976 MB / 3.447 GB, free: 81.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/11.69, allocations: 281.2 kB / 3.447 GB, free: 81.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/11.69, allocations: 0 / 3.447 GB, free: 81.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.674/15.36, allocations: 34.61 MB / 3.481 GB, free: 78.26 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