Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.137/2.137, allocations: 234.9 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2019/2.339, allocations: 57.22 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/2.598, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.452/9.05, allocations: 2.595 GB / 2.941 GB, free: 102.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005153/9.051, allocations: 86.17 kB / 2.941 GB, free: 102.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 .... Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 2.103/11.15, allocations: 407.9 MB / 3.339 GB, free: 46.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/11.15, allocations: 7.781 kB / 3.339 GB, free: 46.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/11.16, allocations: 265.9 kB / 3.339 GB, free: 46.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/11.16, allocations: 442.3 kB / 3.34 GB, free: 46.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/11.16, allocations: 14.94 kB / 3.34 GB, free: 46.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/11.16, allocations: 23.56 kB / 3.34 GB, free: 46.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001025/11.16, allocations: 350 kB / 3.34 GB, free: 46.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/11.16, allocations: 468.7 kB / 3.341 GB, free: 46.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/11.16, allocations: 11.59 kB / 3.341 GB, free: 46.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/11.16, allocations: 3.938 kB / 3.341 GB, free: 46.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/11.16, allocations: 11.12 kB / 3.341 GB, free: 46.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2503/11.41, allocations: 50.54 MB / 3.39 GB, free: 4.309 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/11.41, allocations: 186.8 kB / 3.39 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/11.41, allocations: 101.2 kB / 3.39 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4183/11.83, allocations: 49.7 MB / 3.439 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/11.83, allocations: 47.86 kB / 3.439 GB, free: 84.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 3.677e-06/11.83, allocations: 0 / 3.439 GB, free: 84.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.004076/11.83, allocations: 0.5153 MB / 3.439 GB, free: 84.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/11.84, allocations: 109.8 kB / 3.439 GB, free: 84.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/11.84, allocations: 287.1 kB / 3.44 GB, free: 84.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/11.84, allocations: 28.3 kB / 3.44 GB, free: 84.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/11.84, allocations: 258.1 kB / 3.44 GB, free: 84.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/11.84, allocations: 72.58 kB / 3.44 GB, free: 84.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/11.84, allocations: 0 / 3.44 GB, free: 84.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/11.84, allocations: 345.3 kB / 3.44 GB, free: 83.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/11.84, allocations: 102.9 kB / 3.44 GB, free: 83.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/11.84, allocations: 289.7 kB / 3.441 GB, free: 83.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/11.84, allocations: 248.4 kB / 3.441 GB, free: 83.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/11.84, allocations: 6.562 kB / 3.441 GB, free: 83.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00474/11.84, allocations: 0.7495 MB / 3.442 GB, free: 83.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006484/11.84, allocations: 2.438 MB / 3.444 GB, free: 80.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/11.84, allocations: 7.25 kB / 3.444 GB, free: 80.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/11.84, allocations: 47.59 kB / 3.444 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/11.85, allocations: 110.2 kB / 3.444 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/11.85, allocations: 0.6837 MB / 3.445 GB, free: 80.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/11.85, allocations: 70.78 kB / 3.445 GB, free: 80.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/11.85, allocations: 22.41 kB / 3.445 GB, free: 80.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/11.85, allocations: 6.906 kB / 3.445 GB, free: 80.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001828/11.85, allocations: 398 kB / 3.445 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/11.85, allocations: 7.062 kB / 3.445 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/11.85, allocations: 7.281 kB / 3.445 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/11.85, allocations: 125.4 kB / 3.445 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/11.85, allocations: 13.38 kB / 3.446 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/11.85, allocations: 48.33 kB / 3.446 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/11.85, allocations: 28.34 kB / 3.446 GB, free: 80.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (51): * Single equations (assignments): 50 * 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.0002315/11.85, allocations: 127.6 kB / 3.446 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/11.85, allocations: 176 kB / 3.446 GB, free: 80.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/11.86, allocations: 1.522 MB / 3.447 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/11.86, allocations: 17.92 kB / 3.447 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/11.86, allocations: 3.906 kB / 3.447 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/11.86, allocations: 3.75 kB / 3.447 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/11.86, allocations: 2.051 MB / 3.449 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/11.86, allocations: 0 / 3.449 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/11.86, allocations: 55.08 kB / 3.449 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/11.86, allocations: 0.5018 MB / 3.45 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/11.86, allocations: 7.375 kB / 3.45 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/11.86, allocations: 1.041 MB / 3.451 GB, free: 79.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/11.86, allocations: 4.75 kB / 3.451 GB, free: 79.26 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003274/11.87, allocations: 1.347 MB / 3.452 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00357/11.87, allocations: 1.809 MB / 3.454 GB, free: 78.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/11.87, allocations: 166.3 kB / 3.454 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/11.87, allocations: 2.625 kB / 3.454 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/11.87, allocations: 27.39 kB / 3.454 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/11.87, allocations: 30.59 kB / 3.454 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/11.87, allocations: 16.39 kB / 3.454 GB, free: 78.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000383/11.87, allocations: 211.9 kB / 3.454 GB, free: 78.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009322/11.88, allocations: 1.441 MB / 3.456 GB, free: 78.15 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 (25): * Single equations (assignments): 21 * 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.01376/11.9, allocations: 1.808 MB / 3.458 GB, free: 78.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003438/11.9, allocations: 0.8166 MB / 3.458 GB, free: 78.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/11.9, allocations: 0 / 3.458 GB, free: 78.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/11.9, allocations: 0.5512 MB / 3.459 GB, free: 78.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/11.9, allocations: 146.1 kB / 3.459 GB, free: 78.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2653/12.17, allocations: 50.78 MB / 3.509 GB, free: 75.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009567/12.17, allocations: 0.9599 MB / 3.51 GB, free: 74.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.943e-06/12.17, allocations: 0 / 3.51 GB, free: 74.89 MB / 490.7 MB