Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",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.839/1.839, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.247/2.086, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/2.196, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/8.462, allocations: 2.485 GB / 2.793 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/8.462, allocations: 88.78 kB / 2.793 GB, free: 103 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 1.954/10.42, allocations: 387.6 MB / 3.172 GB, free: 44.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/10.42, allocations: 11.56 kB / 3.172 GB, free: 44.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/10.42, allocations: 287.8 kB / 3.172 GB, free: 44.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/10.42, allocations: 475 kB / 3.173 GB, free: 43.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/10.42, allocations: 18.56 kB / 3.173 GB, free: 43.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/10.42, allocations: 19.12 kB / 3.173 GB, free: 43.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/10.42, allocations: 372.1 kB / 3.173 GB, free: 43.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/10.42, allocations: 463.3 kB / 3.174 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/10.42, allocations: 0 / 3.174 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/10.42, allocations: 0 / 3.174 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/10.42, allocations: 9.75 kB / 3.174 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3604/10.78, allocations: 67.4 MB / 3.239 GB, free: 7.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/10.78, allocations: 246.6 kB / 3.24 GB, free: 7.598 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/10.79, allocations: 127.5 kB / 3.24 GB, free: 7.473 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5004/11.29, allocations: 65.02 MB / 3.303 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/11.29, allocations: 40.58 kB / 3.303 GB, free: 66.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 2.365e-06/11.29, allocations: 0 / 3.303 GB, free: 66.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.003284/11.29, allocations: 0.5901 MB / 3.304 GB, free: 66.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/11.29, allocations: 106 kB / 3.304 GB, free: 66.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/11.29, allocations: 299.9 kB / 3.304 GB, free: 66.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/11.29, allocations: 25.7 kB / 3.304 GB, free: 66.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/11.29, allocations: 246.9 kB / 3.304 GB, free: 66.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/11.29, allocations: 80.25 kB / 3.305 GB, free: 66.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/11.29, allocations: 0 / 3.305 GB, free: 66.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/11.29, allocations: 352.8 kB / 3.305 GB, free: 66.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/11.29, allocations: 116.6 kB / 3.305 GB, free: 66.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/11.29, allocations: 265.9 kB / 3.305 GB, free: 65.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/11.29, allocations: 283.7 kB / 3.306 GB, free: 65.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/11.29, allocations: 2.656 kB / 3.306 GB, free: 65.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004854/11.3, allocations: 0.8167 MB / 3.306 GB, free: 65.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006072/11.3, allocations: 1.737 MB / 3.308 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/11.3, allocations: 7.5 kB / 3.308 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/11.3, allocations: 48.8 kB / 3.308 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/11.3, allocations: 104.8 kB / 3.308 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/11.3, allocations: 0.6949 MB / 3.309 GB, free: 63.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/11.3, allocations: 64.52 kB / 3.309 GB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/11.3, allocations: 22.67 kB / 3.309 GB, free: 63.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/11.31, allocations: 3.906 kB / 3.309 GB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003053/11.31, allocations: 424.8 kB / 3.309 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/11.31, allocations: 9.875 kB / 3.309 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/11.31, allocations: 6.25 kB / 3.309 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/11.31, allocations: 116.6 kB / 3.309 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/11.31, allocations: 8.75 kB / 3.309 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/11.31, allocations: 53.53 kB / 3.31 GB, free: 63.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/11.31, allocations: 22.72 kB / 3.31 GB, free: 63.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (46): * Single equations (assignments): 45 * 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.000212/11.31, allocations: 122.5 kB / 3.31 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009282/11.31, allocations: 202.3 kB / 3.31 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/11.32, allocations: 1.687 MB / 3.312 GB, free: 63.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/11.32, allocations: 18.08 kB / 3.312 GB, free: 63.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/11.32, allocations: 0 / 3.312 GB, free: 63.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/11.32, allocations: 3.281 kB / 3.312 GB, free: 63.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/11.32, allocations: 2.217 MB / 3.314 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/11.32, allocations: 4.062 kB / 3.314 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/11.32, allocations: 54.36 kB / 3.314 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008445/11.32, allocations: 0.493 MB / 3.314 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/11.32, allocations: 9.281 kB / 3.314 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/11.32, allocations: 1.061 MB / 3.315 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/11.32, allocations: 3.688 kB / 3.315 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003264/11.33, allocations: 1.44 MB / 3.317 GB, free: 61.98 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003493/11.33, allocations: 1.901 MB / 3.319 GB, free: 61.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/11.33, allocations: 186.9 kB / 3.319 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/11.33, allocations: 0 / 3.319 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/11.33, allocations: 32.22 kB / 3.319 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/11.33, allocations: 24.06 kB / 3.319 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/11.33, allocations: 16.64 kB / 3.319 GB, free: 61.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003451/11.33, allocations: 223.4 kB / 3.319 GB, free: 61.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008783/11.34, allocations: 1.438 MB / 3.32 GB, free: 61.12 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 (27): * Single equations (assignments): 23 * 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.01157/11.35, allocations: 1.78 MB / 3.322 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/11.35, allocations: 0.8856 MB / 3.323 GB, free: 60.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/11.35, allocations: 0 / 3.323 GB, free: 60.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009144/11.35, allocations: 0.6195 MB / 3.324 GB, free: 60.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/11.36, allocations: 164.8 kB / 3.324 GB, free: 60.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/11.64, allocations: 54.97 MB / 3.377 GB, free: 51.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/11.64, allocations: 0.9762 MB / 3.378 GB, free: 50.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.255e-06/11.64, allocations: 0 / 3.378 GB, free: 50.73 MB / 442.7 MB