Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",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.059/2.059, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2589/2.318, allocations: 51.03 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/2.475, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.482/8.956, allocations: 2.538 GB / 2.846 GB, free: 69.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/8.957, allocations: 77.59 kB / 2.846 GB, free: 69.11 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 3.59/12.55, allocations: 0.7236 GB / 3.57 GB, free: 20.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/12.55, allocations: 12 kB / 3.57 GB, free: 20.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/12.55, allocations: 0.6109 MB / 3.57 GB, free: 19.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/12.56, allocations: 1.081 MB / 3.572 GB, free: 18.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/12.56, allocations: 44 kB / 3.572 GB, free: 18.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/12.56, allocations: 60 kB / 3.572 GB, free: 18.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005491/12.57, allocations: 1.75 MB / 3.573 GB, free: 16.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/12.57, allocations: 1.557 MB / 3.575 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.543e-05/12.57, allocations: 3.938 kB / 3.575 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/12.57, allocations: 4 kB / 3.575 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/12.57, allocations: 93.89 kB / 3.575 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8175/13.39, allocations: 137.5 MB / 3.709 GB, free: 31.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/13.39, allocations: 1.023 MB / 3.71 GB, free: 31.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/13.39, allocations: 0.5448 MB / 3.711 GB, free: 31.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06202/13.46, allocations: 17.42 MB / 3.728 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/13.46, allocations: 48.94 kB / 3.728 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 3.617e-06/13.46, allocations: 4 kB / 3.728 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.1421/13.6, allocations: 10.67 MB / 3.738 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/13.6, allocations: 218.5 kB / 3.738 GB, free: 34.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/13.6, allocations: 0.7695 MB / 3.739 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005759/13.6, allocations: 25.7 kB / 3.739 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/13.6, allocations: 0.51 MB / 3.74 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/13.6, allocations: 439.9 kB / 3.74 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/13.6, allocations: 0 / 3.74 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002068/13.6, allocations: 367.7 kB / 3.74 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/13.61, allocations: 1.334 MB / 3.742 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/13.61, allocations: 1.782 MB / 3.744 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/13.62, allocations: 1.982 MB / 3.745 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/13.62, allocations: 3.875 kB / 3.745 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02629/13.65, allocations: 5.471 MB / 3.751 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002137/13.65, allocations: 4.785 MB / 3.755 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/13.65, allocations: 13.66 kB / 3.755 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02742/13.68, allocations: 4.09 MB / 3.759 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/13.68, allocations: 327.5 kB / 3.76 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02922/13.71, allocations: 6.316 MB / 3.766 GB, free: 24.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/13.72, allocations: 283.8 kB / 3.766 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009002/13.72, allocations: 125 kB / 3.766 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/13.72, allocations: 6.344 kB / 3.766 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02337/13.74, allocations: 3.152 MB / 3.769 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-05/13.74, allocations: 12 kB / 3.769 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/13.75, allocations: 0.5954 MB / 3.77 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004375/13.75, allocations: 466.1 kB / 3.77 GB, free: 22.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/13.76, allocations: 1.927 MB / 3.772 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/13.76, allocations: 187.8 kB / 3.773 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007218/13.77, allocations: 103.4 kB / 3.773 GB, free: 20.55 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,pump.heatTransfer.states[1].phase,source.medium.phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001302/13.77, allocations: 157.3 kB / 3.773 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002535/13.77, allocations: 0.5034 MB / 3.773 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02661/13.8, allocations: 7.32 MB / 3.78 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/13.8, allocations: 34.72 kB / 3.78 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/13.8, allocations: 0 / 3.78 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/13.8, allocations: 7.688 kB / 3.78 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/13.83, allocations: 9.711 MB / 3.79 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/13.83, allocations: 5.688 kB / 3.79 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/13.83, allocations: 145.4 kB / 3.79 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01997/13.85, allocations: 5.053 MB / 3.795 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006286/13.85, allocations: 59.25 kB / 3.795 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.026/13.88, allocations: 6.984 MB / 3.802 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/13.88, allocations: 7.562 kB / 3.802 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02257/13.9, allocations: 6.193 MB / 3.808 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2575/14.16, allocations: 6.75 MB / 3.815 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/14.16, allocations: 0.65 MB / 3.815 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009523/14.16, allocations: 6.562 kB / 3.815 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006357/14.17, allocations: 200.1 kB / 3.815 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005638/14.17, allocations: 100.4 kB / 3.815 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004047/14.17, allocations: 76.12 kB / 3.816 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001795/14.17, allocations: 0.8051 MB / 3.816 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01536/14.18, allocations: 2.49 MB / 3.819 GB, free: 108.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01575/14.2, allocations: 2.572 MB / 3.821 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0246/14.22, allocations: 5.329 MB / 3.826 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/14.22, allocations: 3.469 kB / 3.826 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01197/14.24, allocations: 2.527 MB / 3.829 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/14.24, allocations: 462.5 kB / 3.829 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08007/14.32, allocations: 19.97 MB / 3.849 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/14.32, allocations: 1.583 MB / 3.85 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/14.32, allocations: 2.875 kB / 3.85 GB, free: 107.1 MB / 0.4948 GB