Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_1_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.54/1.54, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2/1.74, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/1.834, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.216/8.05, allocations: 2.53 GB / 2.782 GB, free: 54.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/8.05, allocations: 72.16 kB / 2.782 GB, free: 54.66 MB / 346.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.58/11.63, allocations: 0.7234 GB / 3.505 GB, free: 9.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/11.63, allocations: 15.94 kB / 3.505 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007618/11.64, allocations: 0.6069 MB / 3.506 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/11.64, allocations: 1.092 MB / 3.507 GB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/11.64, allocations: 44 kB / 3.507 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006601/11.64, allocations: 60 kB / 3.507 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005791/11.65, allocations: 1.742 MB / 3.508 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008018/11.66, allocations: 1.557 MB / 3.51 GB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.889e-05/11.66, allocations: 3.938 kB / 3.51 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004555/11.66, allocations: 4 kB / 3.51 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/11.66, allocations: 89.98 kB / 3.51 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9209/12.58, allocations: 137.5 MB / 3.644 GB, free: 25.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/12.58, allocations: 1.037 MB / 3.645 GB, free: 25.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/12.58, allocations: 0.5471 MB / 3.646 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2611/12.85, allocations: 17.42 MB / 3.663 GB, free: 83.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/12.85, allocations: 46.69 kB / 3.663 GB, free: 83.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.667e-06/12.85, allocations: 0 / 3.663 GB, free: 83.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.1524/13, allocations: 10.66 MB / 3.673 GB, free: 83.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/13, allocations: 225.4 kB / 3.674 GB, free: 83.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/13, allocations: 0.75 MB / 3.674 GB, free: 82.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005823/13, allocations: 28.86 kB / 3.674 GB, free: 82.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/13, allocations: 0.5236 MB / 3.675 GB, free: 82.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007385/13, allocations: 428.5 kB / 3.675 GB, free: 82.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/13, allocations: 0 / 3.675 GB, free: 82.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/13, allocations: 373.1 kB / 3.676 GB, free: 82.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/13.01, allocations: 1.338 MB / 3.677 GB, free: 82.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004036/13.01, allocations: 1.784 MB / 3.679 GB, free: 81.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/13.02, allocations: 1.977 MB / 3.681 GB, free: 81.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/13.02, allocations: 3.812 kB / 3.681 GB, free: 81.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02788/13.05, allocations: 5.469 MB / 3.686 GB, free: 81.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001082/13.05, allocations: 4.79 MB / 3.691 GB, free: 76.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.457e-05/13.05, allocations: 13.05 kB / 3.691 GB, free: 76.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02674/13.08, allocations: 4.097 MB / 3.695 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/13.08, allocations: 333.3 kB / 3.695 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/13.11, allocations: 6.3 MB / 3.701 GB, free: 75.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00796/13.12, allocations: 285 kB / 3.701 GB, free: 75.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008913/13.12, allocations: 126.5 kB / 3.701 GB, free: 75.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/13.12, allocations: 6.188 kB / 3.701 GB, free: 75.41 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02404/13.14, allocations: 3.147 MB / 3.705 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.147e-05/13.14, allocations: 16.33 kB / 3.705 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/13.15, allocations: 0.5858 MB / 3.705 GB, free: 75.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/13.15, allocations: 464.3 kB / 3.706 GB, free: 75.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/13.16, allocations: 1.937 MB / 3.707 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/13.16, allocations: 188.6 kB / 3.708 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/13.17, allocations: 104.1 kB / 3.708 GB, free: 74.3 MB / 426.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.001125/13.17, allocations: 155.9 kB / 3.708 GB, free: 74.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002529/13.17, allocations: 0.5114 MB / 3.708 GB, free: 74.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0268/13.2, allocations: 7.314 MB / 3.715 GB, free: 73.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-05/13.2, allocations: 35.53 kB / 3.716 GB, free: 73.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/13.2, allocations: 0 / 3.716 GB, free: 73.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.755e-05/13.2, allocations: 10.17 kB / 3.716 GB, free: 73.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/13.23, allocations: 9.713 MB / 3.725 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/13.23, allocations: 5.688 kB / 3.725 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/13.23, allocations: 149.3 kB / 3.725 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/13.25, allocations: 5.058 MB / 3.73 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/13.25, allocations: 50.72 kB / 3.73 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03204/13.28, allocations: 6.986 MB / 3.737 GB, free: 71.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/13.28, allocations: 5.219 kB / 3.737 GB, free: 71.99 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02275/13.31, allocations: 6.183 MB / 3.743 GB, free: 71.25 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02327/13.33, allocations: 6.698 MB / 3.75 GB, free: 70.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/13.33, allocations: 0.643 MB / 3.75 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/13.33, allocations: 13.61 kB / 3.75 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/13.34, allocations: 194.1 kB / 3.75 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/13.34, allocations: 104.1 kB / 3.75 GB, free: 69.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004106/13.34, allocations: 72.84 kB / 3.751 GB, free: 69.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00191/13.34, allocations: 0.8069 MB / 3.751 GB, free: 69.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01523/13.36, allocations: 2.497 MB / 3.754 GB, free: 69.78 MB / 426.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.01453/13.37, allocations: 2.576 MB / 3.756 GB, free: 69.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02545/13.4, allocations: 5.333 MB / 3.762 GB, free: 69.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/13.4, allocations: 1.5 kB / 3.762 GB, free: 69.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01208/13.41, allocations: 2.524 MB / 3.764 GB, free: 68.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/13.41, allocations: 463 kB / 3.764 GB, free: 67.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08276/13.5, allocations: 19.95 MB / 3.784 GB, free: 63.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2152/13.71, allocations: 1.585 MB / 3.785 GB, free: 84.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/13.71, allocations: 0 / 3.785 GB, free: 84.99 MB / 426.7 MB