Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",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 1.846/1.846, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2836/2.129, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/2.247, allocations: 48.7 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/3.392, allocations: 462.5 MB / 0.7603 GB, free: 44.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/3.392, allocations: 84.27 kB / 0.7604 GB, free: 44.1 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/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.8937/4.286, allocations: 191.8 MB / 0.9477 GB, free: 25.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/4.286, allocations: 12 kB / 0.9477 GB, free: 25.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/4.288, allocations: 183 kB / 0.9479 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/4.29, allocations: 0.5754 MB / 0.9485 GB, free: 25.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/4.29, allocations: 12 kB / 0.9485 GB, free: 25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/4.29, allocations: 24 kB / 0.9485 GB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001147/4.291, allocations: 437.9 kB / 0.9489 GB, free: 24.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/4.293, allocations: 0.5275 MB / 0.9494 GB, free: 23.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/4.293, allocations: 4 kB / 0.9494 GB, free: 23.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/4.293, allocations: 4 kB / 0.9494 GB, free: 23.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/4.293, allocations: 12 kB / 0.9495 GB, free: 23.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/4.298, allocations: 2.716 MB / 0.9521 GB, free: 21.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/4.298, allocations: 248.6 kB / 0.9523 GB, free: 20.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/4.299, allocations: 113 kB / 0.9524 GB, free: 20.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/4.299, allocations: 190.8 kB / 0.9526 GB, free: 20.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/4.299, allocations: 184.9 kB / 0.9528 GB, free: 20.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.908e-06/4.299, allocations: 0 / 0.9528 GB, free: 20.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.01975/4.319, allocations: 1.57 MB / 0.9543 GB, free: 18.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/4.319, allocations: 162.2 kB / 0.9545 GB, free: 18.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/4.321, allocations: 0.4982 MB / 0.955 GB, free: 18.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/4.321, allocations: 25.7 kB / 0.955 GB, free: 17.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/4.321, allocations: 314.7 kB / 0.9553 GB, free: 17.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/4.321, allocations: 74.94 kB / 0.9554 GB, free: 17.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/4.321, allocations: 0 / 0.9554 GB, free: 17.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/4.322, allocations: 370.7 kB / 0.9557 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/4.322, allocations: 145.1 kB / 0.9559 GB, free: 17.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/4.323, allocations: 370.9 kB / 0.9562 GB, free: 16.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03786/4.361, allocations: 1.517 MB / 0.9577 GB, free: 15.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/4.361, allocations: 0 / 0.9577 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.04581/4.407, allocations: 1.889 MB / 0.9596 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005691/4.407, allocations: 2.698 MB / 0.9622 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/4.407, allocations: 8 kB / 0.9622 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/4.407, allocations: 12 kB / 0.9622 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01808/4.425, allocations: 0.6281 MB / 0.9628 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/4.432, allocations: 1.038 MB / 0.9638 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/4.433, allocations: 63.45 kB / 0.9639 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/4.433, allocations: 55.98 kB / 0.9639 GB, free: 8.457 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/4.433, allocations: 4 kB / 0.9639 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004583/4.438, allocations: 0.9091 MB / 0.9648 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/4.438, allocations: 12.19 kB / 0.9648 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/4.438, allocations: 16.03 kB / 0.9649 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/4.439, allocations: 135.8 kB / 0.965 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/4.439, allocations: 11.98 kB / 0.965 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/4.439, allocations: 47.58 kB / 0.9651 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/4.439, allocations: 55.92 kB / 0.9651 GB, free: 7.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002418/4.44, allocations: 166.3 kB / 0.9653 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/4.44, allocations: 59.34 kB / 0.9653 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/4.446, allocations: 0.7503 MB / 0.9661 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/4.446, allocations: 4 kB / 0.9661 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/4.446, allocations: 11.91 kB / 0.9661 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/4.446, allocations: 0 / 0.9661 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/4.447, allocations: 430 kB / 0.9665 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/4.447, allocations: 0 / 0.9665 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/4.45, allocations: 179.7 kB / 0.9666 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/4.45, allocations: 4 kB / 0.9667 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/4.45, allocations: 8 kB / 0.9667 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/4.452, allocations: 0.7341 MB / 0.9674 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/4.452, allocations: 0 / 0.9674 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005209/4.457, allocations: 0.676 MB / 0.968 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005278/4.463, allocations: 1.07 MB / 0.9691 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/4.463, allocations: 148.3 kB / 0.9692 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/4.463, allocations: 4 kB / 0.9692 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/4.464, allocations: 15.98 kB / 0.9692 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/4.464, allocations: 15.89 kB / 0.9693 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/4.464, allocations: 15.98 kB / 0.9693 GB, free: 2.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006663/4.464, allocations: 399.2 kB / 0.9697 GB, free: 2.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004766/4.469, allocations: 0.7725 MB / 0.9704 GB, free: 1.688 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003166/4.472, allocations: 1.365 MB / 0.9717 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1856/4.658, allocations: 1.45 MB / 0.9732 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/4.658, allocations: 3.781 kB / 0.9732 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005765/4.664, allocations: 367.4 kB / 0.9735 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/4.666, allocations: 182.9 kB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/4.678, allocations: 2.38 MB / 0.976 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/4.679, allocations: 1.004 MB / 0.977 GB, free: 120.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/4.679, allocations: 3.312 kB / 0.977 GB, free: 120.8 MB / 426.7 MB