Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",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.155/2.155, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.175/2.33, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/2.626, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/9.191, allocations: 2.648 GB / 2.994 GB, free: 44.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/9.191, allocations: 81.52 kB / 2.994 GB, free: 44.71 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 3.544/12.73, allocations: 0.7428 GB / 3.737 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/12.74, allocations: 7.094 kB / 3.737 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007758/12.74, allocations: 0.6304 MB / 3.737 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/12.75, allocations: 1.085 MB / 3.738 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/12.75, allocations: 54.06 kB / 3.738 GB, free: 43.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/12.75, allocations: 64.86 kB / 3.738 GB, free: 43.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005955/12.75, allocations: 1.734 MB / 3.74 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/12.76, allocations: 1.557 MB / 3.742 GB, free: 41.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/12.76, allocations: 2.75 kB / 3.742 GB, free: 41.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/12.76, allocations: 3.75 kB / 3.742 GB, free: 41.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/12.76, allocations: 93.11 kB / 3.742 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8197/13.58, allocations: 137.6 MB / 3.876 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/13.58, allocations: 1.032 MB / 3.877 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/13.58, allocations: 0.5496 MB / 3.878 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05943/13.64, allocations: 17.41 MB / 3.895 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/13.64, allocations: 44.19 kB / 3.895 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 3.777e-06/13.64, allocations: 0 / 3.895 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.1645/13.81, allocations: 10.66 MB / 3.905 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/13.81, allocations: 225.2 kB / 3.905 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/13.81, allocations: 0.7555 MB / 3.906 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006393/13.81, allocations: 33.3 kB / 3.906 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/13.81, allocations: 0.5194 MB / 3.907 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009464/13.81, allocations: 426.5 kB / 3.907 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/13.81, allocations: 0 / 3.907 GB, free: 41.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001502/13.81, allocations: 376.2 kB / 3.907 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/13.82, allocations: 1.333 MB / 3.909 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/13.82, allocations: 1.783 MB / 3.91 GB, free: 41.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/13.83, allocations: 1.986 MB / 3.912 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/13.83, allocations: 3.938 kB / 3.912 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02874/13.86, allocations: 5.461 MB / 3.918 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/13.86, allocations: 4.788 MB / 3.922 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-05/13.86, allocations: 18.69 kB / 3.922 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02803/13.89, allocations: 4.087 MB / 3.926 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/13.9, allocations: 328.7 kB / 3.927 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/13.93, allocations: 6.313 MB / 3.933 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00869/13.94, allocations: 283.5 kB / 3.933 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009727/13.94, allocations: 123.2 kB / 3.933 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/13.94, allocations: 3.438 kB / 3.933 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02401/13.96, allocations: 3.159 MB / 3.936 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.768e-05/13.96, allocations: 12.25 kB / 3.936 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/13.97, allocations: 0.588 MB / 3.937 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/13.97, allocations: 459.5 kB / 3.937 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/13.98, allocations: 1.934 MB / 3.939 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/13.98, allocations: 183.8 kB / 3.939 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006957/13.98, allocations: 105 kB / 3.94 GB, free: 33.38 MB / 0.5105 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.001271/13.98, allocations: 163.5 kB / 3.94 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002675/13.99, allocations: 0.5041 MB / 3.94 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03012/14.02, allocations: 7.331 MB / 3.947 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/14.02, allocations: 30.33 kB / 3.947 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/14.02, allocations: 0 / 3.947 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-05/14.02, allocations: 9.969 kB / 3.947 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/14.05, allocations: 9.726 MB / 3.957 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/14.05, allocations: 7.438 kB / 3.957 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/14.05, allocations: 143.7 kB / 3.957 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02655/14.08, allocations: 5.05 MB / 3.962 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005557/14.08, allocations: 52.25 kB / 3.962 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0278/14.1, allocations: 6.992 MB / 3.969 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/14.1, allocations: 10.2 kB / 3.969 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02286/14.13, allocations: 6.188 MB / 3.975 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02327/14.15, allocations: 6.691 MB / 3.981 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/14.15, allocations: 0.6434 MB / 3.982 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/14.15, allocations: 19.09 kB / 3.982 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006632/14.16, allocations: 191.2 kB / 3.982 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/14.16, allocations: 94.88 kB / 3.982 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004086/14.16, allocations: 75.67 kB / 3.982 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00182/14.16, allocations: 0.8105 MB / 3.983 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01488/14.18, allocations: 2.506 MB / 3.986 GB, free: 21.35 MB / 0.5105 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.01488/14.19, allocations: 2.568 MB / 3.988 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02495/14.22, allocations: 5.331 MB / 3.993 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/14.22, allocations: 1.875 kB / 3.993 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/14.23, allocations: 2.53 MB / 3.996 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/14.24, allocations: 479.6 kB / 3.996 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3456/14.58, allocations: 20.52 MB / 4.016 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/14.58, allocations: 1.58 MB / 4.018 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.495e-06/14.58, allocations: 3.844 kB / 4.018 GB, free: 85.64 MB / 0.5105 GB