Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_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 2.198/2.198, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1649/2.363, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/2.647, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/4.01, allocations: 469.2 MB / 0.8039 GB, free: 121.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/4.01, allocations: 81.64 kB / 0.804 GB, free: 121.8 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 .... [/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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.023/5.033, allocations: 191.3 MB / 0.9908 GB, free: 98.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/5.033, allocations: 11 kB / 0.9908 GB, free: 98.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/5.036, allocations: 177.7 kB / 0.991 GB, free: 98.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/5.038, allocations: 0.5825 MB / 0.9916 GB, free: 98.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/5.038, allocations: 15.22 kB / 0.9916 GB, free: 98.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/5.038, allocations: 20.97 kB / 0.9916 GB, free: 98.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/5.039, allocations: 443 kB / 0.992 GB, free: 98.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/5.04, allocations: 0.5359 MB / 0.9926 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/5.04, allocations: 0 / 0.9926 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/5.041, allocations: 7.031 kB / 0.9926 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/5.041, allocations: 19 kB / 0.9926 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/5.046, allocations: 2.715 MB / 0.9952 GB, free: 96.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/5.047, allocations: 251.5 kB / 0.9955 GB, free: 96.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/5.047, allocations: 114.5 kB / 0.9956 GB, free: 96.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/5.048, allocations: 198.2 kB / 0.9958 GB, free: 96.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/5.048, allocations: 185.2 kB / 0.996 GB, free: 96.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.266e-06/5.048, allocations: 0 / 0.996 GB, free: 96.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.01868/5.067, allocations: 1.589 MB / 0.9975 GB, free: 96.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/5.067, allocations: 163.7 kB / 0.9977 GB, free: 95.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/5.068, allocations: 0.5 MB / 0.9982 GB, free: 95.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/5.068, allocations: 29.59 kB / 0.9982 GB, free: 95.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/5.068, allocations: 312.1 kB / 0.9985 GB, free: 95.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/5.068, allocations: 78.05 kB / 0.9986 GB, free: 95.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/5.068, allocations: 0 / 0.9986 GB, free: 95.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/5.068, allocations: 373.4 kB / 0.9989 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/5.069, allocations: 144.5 kB / 0.999 GB, free: 95.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/5.069, allocations: 379.2 kB / 0.9994 GB, free: 95.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01936/5.089, allocations: 1.529 MB / 1.001 GB, free: 95.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/5.089, allocations: 0 / 1.001 GB, free: 95.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.02476/5.114, allocations: 1.906 MB / 1.003 GB, free: 94.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008833/5.115, allocations: 2.694 MB / 1.005 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/5.115, allocations: 10.25 kB / 1.005 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-05/5.115, allocations: 15.09 kB / 1.005 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/5.128, allocations: 0.6235 MB / 1.006 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/5.135, allocations: 1.038 MB / 1.007 GB, free: 91.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/5.136, allocations: 61.84 kB / 1.007 GB, free: 91.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/5.136, allocations: 54.39 kB / 1.007 GB, free: 91.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/5.136, allocations: 7.719 kB / 1.007 GB, free: 91.54 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004827/5.141, allocations: 0.9264 MB / 1.008 GB, free: 91.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/5.141, allocations: 7.062 kB / 1.008 GB, free: 91.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/5.141, allocations: 14.47 kB / 1.008 GB, free: 91.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/5.142, allocations: 135.5 kB / 1.008 GB, free: 91.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/5.142, allocations: 19.03 kB / 1.008 GB, free: 91.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/5.143, allocations: 42.91 kB / 1.008 GB, free: 91.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/5.143, allocations: 59.41 kB / 1.008 GB, free: 91.52 MB / 474.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: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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.0002881/5.143, allocations: 161.5 kB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/5.144, allocations: 56.91 kB / 1.009 GB, free: 91.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/5.15, allocations: 0.7886 MB / 1.009 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/5.15, allocations: 3.938 kB / 1.009 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/5.15, allocations: 10.84 kB / 1.009 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/5.15, allocations: 1.125 kB / 1.009 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/5.151, allocations: 436.8 kB / 1.01 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/5.151, allocations: 0 / 1.01 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/5.155, allocations: 180.2 kB / 1.01 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/5.155, allocations: 3.891 kB / 1.01 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/5.155, allocations: 5.188 kB / 1.01 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/5.157, allocations: 0.7322 MB / 1.011 GB, free: 90.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/5.157, allocations: 0 / 1.011 GB, free: 90.54 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00573/5.163, allocations: 0.6761 MB / 1.011 GB, free: 90.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006104/5.169, allocations: 1.102 MB / 1.012 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/5.169, allocations: 148.7 kB / 1.013 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/5.169, allocations: 10.09 kB / 1.013 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/5.17, allocations: 13.11 kB / 1.013 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/5.17, allocations: 13.77 kB / 1.013 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/5.17, allocations: 18.09 kB / 1.013 GB, free: 89.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007257/5.171, allocations: 404.9 kB / 1.013 GB, free: 89.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005126/5.176, allocations: 0.7677 MB / 1.014 GB, free: 89.65 MB / 474.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,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.003315/5.179, allocations: 1.362 MB / 1.015 GB, free: 89.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03409/5.214, allocations: 1.491 MB / 1.016 GB, free: 89.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/5.214, allocations: 3 kB / 1.016 GB, free: 89.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009944/5.224, allocations: 387.3 kB / 1.017 GB, free: 89.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/5.227, allocations: 206.2 kB / 1.017 GB, free: 89.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/5.246, allocations: 2.379 MB / 1.019 GB, free: 89.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/5.248, allocations: 1.01 MB / 1.02 GB, free: 88.38 MB / 474.7 MB Notification: Performance of SimCode: time 3.907e-06/5.248, allocations: 0 / 1.02 GB, free: 88.38 MB / 474.7 MB