Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_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 1.917/1.917, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2691/2.186, allocations: 51.03 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/2.322, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.057/8.378, allocations: 2.484 GB / 2.793 GB, free: 102.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/8.379, allocations: 90.12 kB / 2.793 GB, free: 102.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 .... 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 1.945/10.32, allocations: 397.9 MB / 3.182 GB, free: 41.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/10.32, allocations: 8.75 kB / 3.182 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/10.33, allocations: 249 kB / 3.182 GB, free: 41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/10.33, allocations: 449.1 kB / 3.182 GB, free: 40.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/10.33, allocations: 14.59 kB / 3.182 GB, free: 40.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/10.33, allocations: 20.97 kB / 3.182 GB, free: 40.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/10.33, allocations: 351.5 kB / 3.183 GB, free: 40.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/10.33, allocations: 474.3 kB / 3.183 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/10.33, allocations: 1.344 kB / 3.183 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/10.33, allocations: 2.875 kB / 3.183 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/10.33, allocations: 9.281 kB / 3.183 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2597/10.59, allocations: 49.48 MB / 3.231 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/10.59, allocations: 179.1 kB / 3.232 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/10.59, allocations: 93.22 kB / 3.232 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4046/11, allocations: 49.67 MB / 3.28 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/11, allocations: 39.17 kB / 3.28 GB, free: 79.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/11, allocations: 0.8438 kB / 3.28 GB, free: 79.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.003222/11, allocations: 0.5205 MB / 3.281 GB, free: 79.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/11, allocations: 110.5 kB / 3.281 GB, free: 79.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/11, allocations: 292.2 kB / 3.281 GB, free: 79.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/11, allocations: 25.7 kB / 3.281 GB, free: 79.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/11, allocations: 254.1 kB / 3.281 GB, free: 78.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/11, allocations: 74.5 kB / 3.281 GB, free: 78.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/11, allocations: 0 / 3.281 GB, free: 78.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/11, allocations: 346.9 kB / 3.282 GB, free: 78.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/11, allocations: 104.9 kB / 3.282 GB, free: 78.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/11, allocations: 295.2 kB / 3.282 GB, free: 78.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/11.01, allocations: 245.7 kB / 3.282 GB, free: 78.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/11.01, allocations: 0 / 3.282 GB, free: 78.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003821/11.01, allocations: 0.7572 MB / 3.283 GB, free: 78.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005965/11.01, allocations: 2.433 MB / 3.285 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/11.01, allocations: 4.844 kB / 3.285 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/11.01, allocations: 50.22 kB / 3.286 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/11.01, allocations: 115.9 kB / 3.286 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/11.01, allocations: 0.6796 MB / 3.286 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/11.01, allocations: 73.88 kB / 3.286 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/11.01, allocations: 21.47 kB / 3.286 GB, free: 75.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/11.01, allocations: 3.938 kB / 3.286 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/11.02, allocations: 398.3 kB / 3.287 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/11.02, allocations: 7.844 kB / 3.287 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/11.02, allocations: 7.75 kB / 3.287 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/11.02, allocations: 124.1 kB / 3.287 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/11.02, allocations: 9.812 kB / 3.287 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/11.02, allocations: 52.8 kB / 3.287 GB, free: 75.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/11.02, allocations: 27.2 kB / 3.287 GB, free: 75.15 MB / 442.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.00022/11.02, allocations: 121.2 kB / 3.287 GB, free: 75.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/11.02, allocations: 188.7 kB / 3.287 GB, free: 75.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/11.02, allocations: 1.513 MB / 3.289 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/11.02, allocations: 17.09 kB / 3.289 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/11.02, allocations: 3.469 kB / 3.289 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/11.02, allocations: 3.906 kB / 3.289 GB, free: 74.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/11.03, allocations: 2.048 MB / 3.291 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/11.03, allocations: 0 / 3.291 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/11.03, allocations: 54.41 kB / 3.291 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008588/11.03, allocations: 0.5048 MB / 3.291 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/11.03, allocations: 6.375 kB / 3.291 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/11.03, allocations: 1.04 MB / 3.292 GB, free: 73.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/11.03, allocations: 1.312 kB / 3.292 GB, free: 73.97 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003002/11.03, allocations: 1.347 MB / 3.294 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003425/11.04, allocations: 1.807 MB / 3.295 GB, free: 73.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/11.04, allocations: 172.8 kB / 3.296 GB, free: 72.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/11.04, allocations: 3.656 kB / 3.296 GB, free: 72.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/11.04, allocations: 30.95 kB / 3.296 GB, free: 72.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/11.04, allocations: 22.31 kB / 3.296 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/11.04, allocations: 14.36 kB / 3.296 GB, free: 72.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003445/11.04, allocations: 214.5 kB / 3.296 GB, free: 72.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009901/11.05, allocations: 1.438 MB / 3.297 GB, free: 72.86 MB / 442.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.01554/11.06, allocations: 1.82 MB / 3.299 GB, free: 72.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003183/11.07, allocations: 0.8172 MB / 3.3 GB, free: 72.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/11.07, allocations: 0 / 3.3 GB, free: 72.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/11.07, allocations: 0.5431 MB / 3.3 GB, free: 72.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/11.07, allocations: 147.7 kB / 3.301 GB, free: 72.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2508/11.32, allocations: 49.95 MB / 3.349 GB, free: 70.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/11.32, allocations: 0.9566 MB / 3.35 GB, free: 69.71 MB / 442.7 MB Notification: Performance of SimCode: time 2.585e-06/11.32, allocations: 0 / 3.35 GB, free: 69.71 MB / 442.7 MB