Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.45e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.63, allocations: 2.486 GB / 2.795 GB, free: 104.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/7.63, allocations: 89.86 kB / 2.795 GB, free: 104.5 MB / 426.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 .... [/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.523/11.15, allocations: 0.6379 GB / 3.433 GB, free: 40.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.516e-06/11.15, allocations: 0 / 3.433 GB, free: 40.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001058/11.15, allocations: 29.47 kB / 3.433 GB, free: 40.49 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01066/11.16, allocations: 2.109 MB / 3.435 GB, free: 39.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/11.16, allocations: 9.281 kB / 3.435 GB, free: 39.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007548/11.17, allocations: 0.5302 MB / 3.435 GB, free: 39.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/11.17, allocations: 0.6999 MB / 3.436 GB, free: 39.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/11.17, allocations: 31.84 kB / 3.436 GB, free: 39.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/11.17, allocations: 45.94 kB / 3.436 GB, free: 39.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002282/11.18, allocations: 0.7435 MB / 3.437 GB, free: 39.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/11.18, allocations: 0.9085 MB / 3.438 GB, free: 39.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/11.18, allocations: 6.016 kB / 3.438 GB, free: 39.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/11.18, allocations: 3.344 kB / 3.438 GB, free: 39.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/11.18, allocations: 22.19 kB / 3.438 GB, free: 39.14 MB / 458.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.4528/11.63, allocations: 109.4 MB / 3.545 GB, free: 23.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/11.63, allocations: 0.5051 MB / 3.545 GB, free: 23.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/11.63, allocations: 210.2 kB / 3.545 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09963/11.73, allocations: 29.14 MB / 3.574 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/11.73, allocations: 40.41 kB / 3.574 GB, free: 18.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/11.74, allocations: 113.4 kB / 3.574 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 3.437e-06/11.74, allocations: 0 / 3.574 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.005718/11.74, allocations: 1.058 MB / 3.575 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/11.74, allocations: 187.8 kB / 3.575 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/11.74, allocations: 470.7 kB / 3.576 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/11.74, allocations: 25.7 kB / 3.576 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/11.74, allocations: 0.4943 MB / 3.576 GB, free: 16.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/11.74, allocations: 153.8 kB / 3.576 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/11.74, allocations: 4 kB / 3.576 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000166/11.74, allocations: 350.2 kB / 3.577 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/11.74, allocations: 177.7 kB / 3.577 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/11.74, allocations: 493.1 kB / 3.577 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/11.75, allocations: 478 kB / 3.578 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/11.75, allocations: 4 kB / 3.578 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004135/11.75, allocations: 0.9154 MB / 3.579 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001645/11.75, allocations: 3.834 MB / 3.582 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/11.75, allocations: 8 kB / 3.582 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/11.75, allocations: 71.25 kB / 3.582 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/11.75, allocations: 201.9 kB / 3.583 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/11.76, allocations: 1.237 MB / 3.584 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/11.76, allocations: 59.08 kB / 3.584 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/11.76, allocations: 53.52 kB / 3.584 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/11.76, allocations: 4 kB / 3.584 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/11.76, allocations: 0.7158 MB / 3.585 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/11.76, allocations: 12 kB / 3.585 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/11.76, allocations: 16 kB / 3.585 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/11.76, allocations: 212.6 kB / 3.585 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/11.76, allocations: 21.2 kB / 3.585 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/11.76, allocations: 62.08 kB / 3.585 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/11.76, allocations: 49.22 kB / 3.585 GB, free: 8.641 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003333/11.76, allocations: 134.2 kB / 3.585 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003475/11.77, allocations: 0.6528 MB / 3.586 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/11.77, allocations: 71.16 kB / 3.586 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/11.77, allocations: 2.813 MB / 3.589 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/11.77, allocations: 43.66 kB / 3.589 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/11.77, allocations: 0 / 3.589 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/11.77, allocations: 3.328 kB / 3.589 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/11.78, allocations: 3.697 MB / 3.592 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/11.78, allocations: 1.969 kB / 3.592 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/11.78, allocations: 99.67 kB / 3.592 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/11.78, allocations: 0.722 MB / 3.593 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/11.78, allocations: 8 kB / 3.593 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/11.79, allocations: 1.651 MB / 3.595 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/11.79, allocations: 1.594 kB / 3.595 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/11.79, allocations: 1.924 MB / 3.597 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/11.79, allocations: 298 kB / 3.597 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/11.79, allocations: 5.422 kB / 3.597 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/11.79, allocations: 44.58 kB / 3.597 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/11.79, allocations: 55.41 kB / 3.597 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/11.79, allocations: 14.81 kB / 3.597 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007272/11.79, allocations: 388.9 kB / 3.597 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/11.79, allocations: 0 / 3.597 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.3667/12.16, allocations: 1.228 MB / 3.598 GB, free: 86.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01653/12.18, allocations: 4.462 MB / 3.603 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00333/12.18, allocations: 1.147 MB / 3.604 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/12.18, allocations: 2.062 kB / 3.604 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/12.18, allocations: 0.6689 MB / 3.605 GB, free: 85.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/12.18, allocations: 286.5 kB / 3.605 GB, free: 85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9218/13.11, allocations: 196.8 MB / 3.797 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/13.11, allocations: 1.182 MB / 3.798 GB, free: 84.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/13.11, allocations: 463.5 kB / 3.799 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/13.11, allocations: 4.938 kB / 3.799 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.797/16.9, allocations: 47.88 MB / 3.845 GB, free: 81.68 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat