Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",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.286/2.286, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2709/2.557, allocations: 51.03 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/2.683, allocations: 48.7 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.083/8.766, allocations: 2.486 GB / 2.794 GB, free: 103.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/8.767, allocations: 90.45 kB / 2.794 GB, free: 103.4 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: 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 3.492/12.26, allocations: 0.6422 GB / 3.437 GB, free: 39.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/12.26, allocations: 12.75 kB / 3.437 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008994/12.27, allocations: 0.6409 MB / 3.437 GB, free: 39.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/12.27, allocations: 0.7045 MB / 3.438 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/12.27, allocations: 31.62 kB / 3.438 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/12.27, allocations: 43.09 kB / 3.438 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003391/12.27, allocations: 0.7426 MB / 3.439 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/12.28, allocations: 0.9045 MB / 3.44 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/12.28, allocations: 6.469 kB / 3.44 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/12.28, allocations: 2.781 kB / 3.44 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/12.28, allocations: 21.17 kB / 3.44 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6969/12.98, allocations: 134.5 MB / 3.571 GB, free: 17.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/12.98, allocations: 0.4891 MB / 3.572 GB, free: 17.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/12.98, allocations: 212.8 kB / 3.572 GB, free: 17.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5144/13.49, allocations: 60.84 MB / 3.631 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/13.49, allocations: 41.3 kB / 3.631 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.925e-06/13.49, allocations: 2.625 kB / 3.631 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.006314/13.5, allocations: 1.073 MB / 3.632 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/13.5, allocations: 186.8 kB / 3.632 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/13.5, allocations: 482 kB / 3.633 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/13.5, allocations: 25.7 kB / 3.633 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/13.5, allocations: 399 kB / 3.633 GB, free: 105 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/13.5, allocations: 149.1 kB / 3.633 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/13.5, allocations: 0 / 3.633 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001372/13.5, allocations: 381.8 kB / 3.634 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/13.5, allocations: 208.8 kB / 3.634 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/13.5, allocations: 0.5147 MB / 3.635 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/13.51, allocations: 0.503 MB / 3.635 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/13.51, allocations: 7.641 kB / 3.635 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007264/13.51, allocations: 1.497 MB / 3.637 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008675/13.51, allocations: 3.819 MB / 3.64 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/13.51, allocations: 13.5 kB / 3.64 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/13.51, allocations: 76.78 kB / 3.64 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/13.52, allocations: 203.9 kB / 3.641 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/13.52, allocations: 1.314 MB / 3.642 GB, free: 99.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/13.52, allocations: 113.7 kB / 3.642 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/13.52, allocations: 54.33 kB / 3.642 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/13.52, allocations: 3.25 kB / 3.642 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003787/13.52, allocations: 0.7866 MB / 3.643 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/13.52, allocations: 9.812 kB / 3.643 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/13.52, allocations: 18.44 kB / 3.643 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/13.53, allocations: 221.7 kB / 3.643 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/13.53, allocations: 21.19 kB / 3.643 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/13.53, allocations: 86.08 kB / 3.643 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/13.53, allocations: 55.86 kB / 3.643 GB, free: 99.03 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.000333/13.53, allocations: 134.8 kB / 3.643 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/13.53, allocations: 403.9 kB / 3.644 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/13.54, allocations: 2.935 MB / 3.646 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/13.54, allocations: 29.08 kB / 3.647 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/13.54, allocations: 0 / 3.647 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/13.54, allocations: 11.22 kB / 3.647 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0082/13.55, allocations: 3.72 MB / 3.65 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/13.55, allocations: 11.28 kB / 3.65 GB, free: 98.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/13.55, allocations: 98.59 kB / 3.65 GB, free: 98.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/13.55, allocations: 0.5935 MB / 3.651 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/13.55, allocations: 15.17 kB / 3.651 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/13.55, allocations: 1.63 MB / 3.652 GB, free: 97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/13.55, allocations: 0 / 3.652 GB, free: 97 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006178/13.56, allocations: 2.417 MB / 3.655 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006571/13.56, allocations: 2.921 MB / 3.658 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/13.57, allocations: 298.5 kB / 3.658 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/13.57, allocations: 3.75 kB / 3.658 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/13.57, allocations: 43.62 kB / 3.658 GB, free: 95.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/13.57, allocations: 49.44 kB / 3.658 GB, free: 95.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/13.57, allocations: 29.64 kB / 3.658 GB, free: 95.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008042/13.57, allocations: 388 kB / 3.658 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009958/13.58, allocations: 1.562 MB / 3.66 GB, free: 95.36 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: 18 ($cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 46 * 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: 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.01055/13.59, allocations: 1.985 MB / 3.662 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00354/13.59, allocations: 1.538 MB / 3.663 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/13.59, allocations: 0 / 3.663 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/13.59, allocations: 1.035 MB / 3.664 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/13.6, allocations: 277.5 kB / 3.665 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9637/14.56, allocations: 226.7 MB / 3.886 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/14.56, allocations: 1.229 MB / 3.887 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/14.56, allocations: 2.781 kB / 3.887 GB, free: 115.9 MB / 0.4948 GB