Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_InverseParameterization",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(Modelica): time 1.798/1.798, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2268/2.025, allocations: 46.82 MB / 249.4 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/2.117, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.084/8.201, allocations: 2.639 GB / 2.926 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/8.201, allocations: 78.08 kB / 2.926 GB, free: 15.83 MB / 394.7 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 3.68/11.88, allocations: 0.7426 GB / 3.669 GB, free: 26.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/11.88, allocations: 10 kB / 3.669 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008604/11.89, allocations: 0.63 MB / 3.669 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/11.89, allocations: 1.087 MB / 3.67 GB, free: 26.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/11.89, allocations: 42.84 kB / 3.67 GB, free: 26.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/11.89, allocations: 60.16 kB / 3.67 GB, free: 26.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005475/11.9, allocations: 1.747 MB / 3.672 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/11.9, allocations: 1.558 MB / 3.674 GB, free: 25.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/11.9, allocations: 11.11 kB / 3.674 GB, free: 25.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/11.91, allocations: 3.25 kB / 3.674 GB, free: 25.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/11.91, allocations: 89.02 kB / 3.674 GB, free: 25.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8443/12.75, allocations: 137.6 MB / 3.808 GB, free: 30.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/12.75, allocations: 1.036 MB / 3.809 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/12.76, allocations: 0.5419 MB / 3.81 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06787/12.82, allocations: 17.41 MB / 3.827 GB, free: 34.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/12.82, allocations: 47.25 kB / 3.827 GB, free: 34.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 5.49e-06/12.82, allocations: 0 / 3.827 GB, free: 34.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.1631/12.99, allocations: 10.68 MB / 3.837 GB, free: 34.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/12.99, allocations: 220.2 kB / 3.837 GB, free: 33.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/12.99, allocations: 0.7632 MB / 3.838 GB, free: 33.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/12.99, allocations: 25.7 kB / 3.838 GB, free: 33.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/12.99, allocations: 0.5132 MB / 3.839 GB, free: 33.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/12.99, allocations: 431.5 kB / 3.839 GB, free: 33.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/12.99, allocations: 0 / 3.839 GB, free: 33.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/12.99, allocations: 378.8 kB / 3.839 GB, free: 32.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/13, allocations: 1.337 MB / 3.841 GB, free: 32.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/13, allocations: 1.779 MB / 3.842 GB, free: 32.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/13.01, allocations: 1.978 MB / 3.844 GB, free: 32.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/13.01, allocations: 9.25 kB / 3.844 GB, free: 32.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02939/13.04, allocations: 5.473 MB / 3.85 GB, free: 32.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001822/13.05, allocations: 4.777 MB / 3.854 GB, free: 27.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/13.05, allocations: 11.97 kB / 3.854 GB, free: 27.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03044/13.08, allocations: 4.096 MB / 3.858 GB, free: 27.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/13.08, allocations: 333.4 kB / 3.859 GB, free: 27.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/13.11, allocations: 6.297 MB / 3.865 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/13.12, allocations: 287.4 kB / 3.865 GB, free: 25.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006741/13.12, allocations: 123.5 kB / 3.865 GB, free: 25.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/13.12, allocations: 3.844 kB / 3.865 GB, free: 25.93 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02583/13.15, allocations: 3.151 MB / 3.868 GB, free: 25.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/13.15, allocations: 13.56 kB / 3.868 GB, free: 25.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/13.15, allocations: 0.6027 MB / 3.869 GB, free: 25.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/13.16, allocations: 457.2 kB / 3.869 GB, free: 25.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/13.17, allocations: 1.934 MB / 3.871 GB, free: 24.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/13.17, allocations: 184.1 kB / 3.871 GB, free: 24.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/13.17, allocations: 105 kB / 3.872 GB, free: 24.73 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.00116/13.17, allocations: 168 kB / 3.872 GB, free: 24.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002722/13.17, allocations: 0.504 MB / 3.872 GB, free: 24.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02948/13.2, allocations: 7.313 MB / 3.879 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.855e-05/13.2, allocations: 33.45 kB / 3.879 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/13.2, allocations: 4.844 kB / 3.879 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/13.2, allocations: 6.094 kB / 3.879 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03361/13.24, allocations: 9.716 MB / 3.889 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/13.24, allocations: 4 kB / 3.889 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/13.24, allocations: 152.1 kB / 3.889 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02256/13.26, allocations: 5.057 MB / 3.894 GB, free: 18.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/13.26, allocations: 54.22 kB / 3.894 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/13.29, allocations: 6.988 MB / 3.901 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/13.29, allocations: 6.625 kB / 3.901 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02434/13.32, allocations: 6.186 MB / 3.907 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02469/13.34, allocations: 6.692 MB / 3.913 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/13.34, allocations: 0.6472 MB / 3.914 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/13.34, allocations: 10.25 kB / 3.914 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007087/13.35, allocations: 200.5 kB / 3.914 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/13.35, allocations: 98.5 kB / 3.914 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004082/13.35, allocations: 72.33 kB / 3.914 GB, free: 5.789 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001877/13.35, allocations: 0.8075 MB / 3.915 GB, free: 5.055 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01541/13.37, allocations: 2.502 MB / 3.918 GB, free: 2.785 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.01594/13.39, allocations: 2.584 MB / 3.92 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2219/13.61, allocations: 5.545 MB / 3.926 GB, free: 86.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/13.61, allocations: 2.875 kB / 3.926 GB, free: 86.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01327/13.62, allocations: 2.534 MB / 3.928 GB, free: 86.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/13.63, allocations: 463 kB / 3.928 GB, free: 86.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08974/13.72, allocations: 20.52 MB / 3.948 GB, free: 86.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/13.72, allocations: 1.583 MB / 3.95 GB, free: 85.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.452e-06/13.72, allocations: 0 / 3.95 GB, free: 85.47 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat