Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_InverseParameterization",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(Modelica): time 1.592/1.592, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2149/1.807, allocations: 46.82 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/1.894, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/7.315, allocations: 2.639 GB / 2.926 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/7.315, allocations: 74.22 kB / 2.926 GB, free: 15.38 MB / 394.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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 3.385/10.7, allocations: 0.7426 GB / 3.669 GB, free: 26.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/10.7, allocations: 10.44 kB / 3.669 GB, free: 26.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/10.71, allocations: 0.6298 MB / 3.669 GB, free: 26.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/10.71, allocations: 1.083 MB / 3.67 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/10.71, allocations: 52.59 kB / 3.67 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006331/10.71, allocations: 63.08 kB / 3.67 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005705/10.72, allocations: 1.747 MB / 3.672 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/10.72, allocations: 1.557 MB / 3.674 GB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/10.72, allocations: 3.125 kB / 3.674 GB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/10.72, allocations: 6.594 kB / 3.674 GB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/10.72, allocations: 91.44 kB / 3.674 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7652/11.49, allocations: 137.7 MB / 3.808 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/11.49, allocations: 1.026 MB / 3.809 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/11.49, allocations: 0.5422 MB / 3.81 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05931/11.55, allocations: 17.43 MB / 3.827 GB, free: 31.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/11.55, allocations: 45.38 kB / 3.827 GB, free: 31.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.657e-06/11.55, allocations: 0 / 3.827 GB, free: 31.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.1399/11.69, allocations: 10.67 MB / 3.837 GB, free: 31.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/11.69, allocations: 221.6 kB / 3.837 GB, free: 30.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/11.7, allocations: 0.7533 MB / 3.838 GB, free: 30.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005492/11.7, allocations: 31.86 kB / 3.838 GB, free: 30.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/11.7, allocations: 0.5149 MB / 3.839 GB, free: 30.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007311/11.7, allocations: 440.5 kB / 3.839 GB, free: 30.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/11.7, allocations: 0 / 3.839 GB, free: 30.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/11.7, allocations: 367.5 kB / 3.839 GB, free: 29.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/11.7, allocations: 1.338 MB / 3.841 GB, free: 29.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/11.71, allocations: 1.782 MB / 3.842 GB, free: 29.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/11.72, allocations: 1.982 MB / 3.844 GB, free: 29.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/11.72, allocations: 3.406 kB / 3.844 GB, free: 29.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02581/11.74, allocations: 5.466 MB / 3.85 GB, free: 29.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001839/11.75, allocations: 4.784 MB / 3.854 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/11.75, allocations: 18.91 kB / 3.854 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02578/11.77, allocations: 4.088 MB / 3.858 GB, free: 24.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/11.78, allocations: 333.9 kB / 3.859 GB, free: 24.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02815/11.8, allocations: 6.305 MB / 3.865 GB, free: 22.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007891/11.81, allocations: 291.4 kB / 3.865 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/11.81, allocations: 122.2 kB / 3.865 GB, free: 22.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/11.81, allocations: 3.844 kB / 3.865 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02259/11.83, allocations: 3.152 MB / 3.868 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.039e-05/11.83, allocations: 14.62 kB / 3.868 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/11.84, allocations: 0.5917 MB / 3.869 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/11.84, allocations: 462.1 kB / 3.869 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/11.85, allocations: 1.933 MB / 3.871 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/11.86, allocations: 184 kB / 3.871 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/11.86, allocations: 98.88 kB / 3.872 GB, free: 21.74 MB / 458.7 MB 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.001089/11.86, allocations: 168 kB / 3.872 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/11.86, allocations: 0.4971 MB / 3.872 GB, free: 21.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02583/11.89, allocations: 7.322 MB / 3.879 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.542e-05/11.89, allocations: 33.38 kB / 3.879 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/11.89, allocations: 0 / 3.879 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/11.89, allocations: 11.55 kB / 3.879 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02934/11.91, allocations: 9.713 MB / 3.889 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/11.91, allocations: 4.531 kB / 3.889 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/11.92, allocations: 152.3 kB / 3.889 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01948/11.94, allocations: 5.059 MB / 3.894 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/11.94, allocations: 47.2 kB / 3.894 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/11.96, allocations: 6.988 MB / 3.901 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/11.96, allocations: 9.5 kB / 3.901 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0214/11.98, allocations: 6.189 MB / 3.907 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2154/12.2, allocations: 6.688 MB / 3.913 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/12.2, allocations: 0.6554 MB / 3.914 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009003/12.2, allocations: 11.42 kB / 3.914 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006318/12.21, allocations: 194.8 kB / 3.914 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/12.21, allocations: 102.6 kB / 3.914 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003875/12.21, allocations: 74.78 kB / 3.914 GB, free: 88.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.00187/12.21, allocations: 0.8098 MB / 3.915 GB, free: 88.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01478/12.23, allocations: 2.501 MB / 3.918 GB, free: 88.01 MB / 458.7 MB 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.01473/12.24, allocations: 2.58 MB / 3.92 GB, free: 87.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02437/12.27, allocations: 5.326 MB / 3.925 GB, free: 87.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/12.27, allocations: 0 / 3.925 GB, free: 87.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01166/12.28, allocations: 2.531 MB / 3.928 GB, free: 87.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/12.28, allocations: 465.5 kB / 3.928 GB, free: 87.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08015/12.36, allocations: 20.52 MB / 3.948 GB, free: 87.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/12.36, allocations: 1.582 MB / 3.95 GB, free: 86.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/12.36, allocations: 0 / 3.95 GB, free: 86.34 MB / 458.7 MB