Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.449/2.449, allocations: 235 MB / 242 MB, free: 13.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1736/2.623, allocations: 57.2 MB / 299.2 MB, free: 3.766 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/2.929, allocations: 54.85 MB / 354.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.503/10.43, allocations: 2.648 GB / 2.994 GB, free: 94.81 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/10.43, allocations: 72.09 kB / 2.994 GB, free: 94.77 MB / 478.1 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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 4.287/14.72, allocations: 0.7428 GB / 3.737 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/14.72, allocations: 10 kB / 3.737 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00879/14.73, allocations: 0.6298 MB / 3.737 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/14.73, allocations: 1.092 MB / 3.738 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/14.73, allocations: 49.56 kB / 3.739 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/14.73, allocations: 60.81 kB / 3.739 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005621/14.74, allocations: 1.737 MB / 3.74 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/14.74, allocations: 1.556 MB / 3.742 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/14.74, allocations: 8.312 kB / 3.742 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/14.75, allocations: 2.625 kB / 3.742 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/14.75, allocations: 94.22 kB / 3.742 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9311/15.68, allocations: 137.6 MB / 3.876 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/15.68, allocations: 1.038 MB / 3.877 GB, free: 91.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/15.68, allocations: 0.5415 MB / 3.878 GB, free: 91.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07/15.75, allocations: 17.41 MB / 3.895 GB, free: 80.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/15.75, allocations: 47.47 kB / 3.895 GB, free: 80.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=91): time 4.298e-06/15.75, allocations: 0 / 3.895 GB, free: 80.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=129): time 0.165/15.92, allocations: 10.66 MB / 3.905 GB, free: 79.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/15.92, allocations: 223.6 kB / 3.906 GB, free: 79.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/15.92, allocations: 0.7606 MB / 3.906 GB, free: 79.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006724/15.92, allocations: 28.36 kB / 3.906 GB, free: 79.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/15.92, allocations: 0.5149 MB / 3.907 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008482/15.92, allocations: 433 kB / 3.907 GB, free: 79.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/15.92, allocations: 1.094 kB / 3.907 GB, free: 79.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001532/15.92, allocations: 370.2 kB / 3.908 GB, free: 78.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/15.93, allocations: 1.345 MB / 3.909 GB, free: 78.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005028/15.93, allocations: 1.776 MB / 3.911 GB, free: 78.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/15.95, allocations: 1.977 MB / 3.913 GB, free: 78.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/15.95, allocations: 6.188 kB / 3.913 GB, free: 78.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.03048/15.98, allocations: 5.474 MB / 3.918 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001252/15.98, allocations: 4.783 MB / 3.923 GB, free: 73.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.839e-05/15.98, allocations: 17.67 kB / 3.923 GB, free: 73.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03082/16.01, allocations: 4.086 MB / 3.927 GB, free: 72.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/16.01, allocations: 328.3 kB / 3.927 GB, free: 72.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03422/16.05, allocations: 6.302 MB / 3.933 GB, free: 71.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009447/16.06, allocations: 285.5 kB / 3.933 GB, free: 71.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/16.06, allocations: 127.3 kB / 3.933 GB, free: 71.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/16.06, allocations: 2.781 kB / 3.933 GB, free: 71.81 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02768/16.09, allocations: 3.15 MB / 3.937 GB, free: 71.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.901e-05/16.09, allocations: 11.81 kB / 3.937 GB, free: 71.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00586/16.09, allocations: 0.5933 MB / 3.937 GB, free: 71.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005042/16.1, allocations: 464 kB / 3.938 GB, free: 71.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/16.1, allocations: 1.929 MB / 3.939 GB, free: 70.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004816/16.11, allocations: 189.7 kB / 3.94 GB, free: 70.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/16.11, allocations: 105.4 kB / 3.94 GB, free: 70.61 MB / 0.5294 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.001233/16.11, allocations: 161.1 kB / 3.94 GB, free: 70.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00286/16.11, allocations: 0.5038 MB / 3.94 GB, free: 70.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/16.15, allocations: 7.317 MB / 3.947 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-05/16.15, allocations: 35.69 kB / 3.948 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/16.15, allocations: 0 / 3.948 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/16.15, allocations: 5.531 kB / 3.948 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/16.18, allocations: 9.728 MB / 3.957 GB, free: 69.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/16.18, allocations: 7.5 kB / 3.957 GB, free: 69.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/16.19, allocations: 156.1 kB / 3.957 GB, free: 69.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02488/16.21, allocations: 5.054 MB / 3.962 GB, free: 69.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007159/16.21, allocations: 47.16 kB / 3.962 GB, free: 69.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04201/16.25, allocations: 6.998 MB / 3.969 GB, free: 68.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/16.25, allocations: 3.844 kB / 3.969 GB, free: 68.06 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03659/16.29, allocations: 6.187 MB / 3.975 GB, free: 67.29 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04202/16.33, allocations: 6.685 MB / 3.982 GB, free: 66.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00402/16.34, allocations: 0.6477 MB / 3.982 GB, free: 65.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/16.34, allocations: 11.39 kB / 3.982 GB, free: 65.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0121/16.35, allocations: 204.5 kB / 3.982 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009261/16.35, allocations: 97.31 kB / 3.983 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008019/16.35, allocations: 72.62 kB / 3.983 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 0.003404/16.35, allocations: 0.8033 MB / 3.983 GB, free: 65.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.02414/16.38, allocations: 2.503 MB / 3.986 GB, free: 65.74 MB / 0.5294 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.0223/16.4, allocations: 2.583 MB / 3.988 GB, free: 65.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0285/16.43, allocations: 5.324 MB / 3.994 GB, free: 65.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/16.43, allocations: 4.938 kB / 3.994 GB, free: 65.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01674/16.45, allocations: 2.528 MB / 3.996 GB, free: 65.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007753/16.45, allocations: 459.9 kB / 3.996 GB, free: 65.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/16.57, allocations: 20.54 MB / 4.016 GB, free: 62.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/16.58, allocations: 1.581 MB / 4.018 GB, free: 61.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/16.58, allocations: 0 / 4.018 GB, free: 61.46 MB / 0.5294 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat