Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1438/2.258, allocations: 57.2 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/2.568, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/8.681, allocations: 2.595 GB / 2.941 GB, free: 102.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004829/8.681, allocations: 86.41 kB / 2.941 GB, free: 102.4 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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: 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 2.043/10.72, allocations: 397.4 MB / 3.329 GB, free: 50.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/10.72, allocations: 7.688 kB / 3.329 GB, free: 50.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/10.73, allocations: 319.7 kB / 3.329 GB, free: 49.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/10.73, allocations: 472.1 kB / 3.33 GB, free: 49.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/10.73, allocations: 17.78 kB / 3.33 GB, free: 49.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/10.73, allocations: 21.84 kB / 3.33 GB, free: 49.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/10.73, allocations: 358.5 kB / 3.33 GB, free: 49.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/10.73, allocations: 465.9 kB / 3.331 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/10.73, allocations: 3.938 kB / 3.331 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/10.73, allocations: 3.406 kB / 3.331 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/10.73, allocations: 11.5 kB / 3.331 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4094/11.14, allocations: 68.75 MB / 3.398 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/11.14, allocations: 256.9 kB / 3.398 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/11.14, allocations: 124.8 kB / 3.398 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4713/11.61, allocations: 65.05 MB / 3.462 GB, free: 76.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/11.61, allocations: 39.88 kB / 3.462 GB, free: 76.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 3.416e-06/11.61, allocations: 0 / 3.462 GB, free: 76.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.003262/11.62, allocations: 0.5996 MB / 3.462 GB, free: 76.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/11.62, allocations: 106.8 kB / 3.463 GB, free: 76.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/11.62, allocations: 302 kB / 3.463 GB, free: 76.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/11.62, allocations: 25.7 kB / 3.463 GB, free: 75.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/11.62, allocations: 242.5 kB / 3.463 GB, free: 75.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/11.62, allocations: 80.06 kB / 3.463 GB, free: 75.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/11.62, allocations: 0.875 kB / 3.463 GB, free: 75.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/11.62, allocations: 348.1 kB / 3.463 GB, free: 75.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/11.62, allocations: 124.6 kB / 3.464 GB, free: 75.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/11.62, allocations: 262.4 kB / 3.464 GB, free: 75.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/11.62, allocations: 285.2 kB / 3.464 GB, free: 75.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/11.62, allocations: 0 / 3.464 GB, free: 75.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004098/11.63, allocations: 0.8119 MB / 3.465 GB, free: 75.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004524/11.63, allocations: 1.743 MB / 3.467 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/11.63, allocations: 8.281 kB / 3.467 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/11.63, allocations: 49.48 kB / 3.467 GB, free: 73.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/11.63, allocations: 101.2 kB / 3.467 GB, free: 73.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/11.63, allocations: 0.6943 MB / 3.467 GB, free: 72.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/11.63, allocations: 63.19 kB / 3.467 GB, free: 72.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/11.63, allocations: 27.12 kB / 3.468 GB, free: 72.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/11.63, allocations: 2.781 kB / 3.468 GB, free: 72.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/11.63, allocations: 428.2 kB / 3.468 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/11.63, allocations: 3.438 kB / 3.468 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/11.63, allocations: 12 kB / 3.468 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/11.63, allocations: 116.9 kB / 3.468 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/11.63, allocations: 10.5 kB / 3.468 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/11.63, allocations: 51.97 kB / 3.468 GB, free: 72.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/11.63, allocations: 21.33 kB / 3.468 GB, free: 72.86 MB / 490.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 (massFlowRate1.medium.phase,boundary_fixed.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.000203/11.63, allocations: 133.8 kB / 3.468 GB, free: 72.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/11.63, allocations: 201.2 kB / 3.468 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/11.64, allocations: 1.669 MB / 3.47 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/11.64, allocations: 20.61 kB / 3.47 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/11.64, allocations: 1.125 kB / 3.47 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/11.64, allocations: 3.844 kB / 3.47 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/11.64, allocations: 2.226 MB / 3.472 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/11.64, allocations: 1.5 kB / 3.472 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/11.64, allocations: 54.34 kB / 3.472 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/11.64, allocations: 0.4979 MB / 3.473 GB, free: 72.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/11.64, allocations: 10.91 kB / 3.473 GB, free: 72.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/11.65, allocations: 1.054 MB / 3.474 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/11.65, allocations: 64 / 3.474 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003311/11.65, allocations: 1.445 MB / 3.475 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003613/11.65, allocations: 1.901 MB / 3.477 GB, free: 70.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/11.65, allocations: 182 kB / 3.477 GB, free: 70.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/11.65, allocations: 11.75 kB / 3.477 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/11.65, allocations: 27.72 kB / 3.477 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/11.65, allocations: 29.89 kB / 3.477 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/11.65, allocations: 11.25 kB / 3.477 GB, free: 70.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003554/11.65, allocations: 228.1 kB / 3.478 GB, free: 70.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008947/11.66, allocations: 1.435 MB / 3.479 GB, free: 70.52 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: 11 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01046/11.67, allocations: 1.778 MB / 3.481 GB, free: 70.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002074/11.68, allocations: 0.8812 MB / 3.482 GB, free: 70.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/11.68, allocations: 0 / 3.482 GB, free: 70.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009462/11.68, allocations: 0.6165 MB / 3.482 GB, free: 70.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/11.68, allocations: 164.9 kB / 3.482 GB, free: 70.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2628/11.94, allocations: 55.9 MB / 3.537 GB, free: 64.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/11.94, allocations: 0.9808 MB / 3.538 GB, free: 64.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.183e-06/11.94, allocations: 0 / 3.538 GB, free: 64.04 MB / 490.7 MB