Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",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.309/2.309, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1565/2.466, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/2.753, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/4.149, allocations: 469.2 MB / 0.804 GB, free: 121.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/4.15, allocations: 83.66 kB / 0.8041 GB, free: 121.8 MB / 474.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 .... [/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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.052/5.202, allocations: 191.3 MB / 0.9909 GB, free: 98.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/5.202, allocations: 6.812 kB / 0.9909 GB, free: 98.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/5.206, allocations: 176.3 kB / 0.9911 GB, free: 98.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/5.208, allocations: 0.5864 MB / 0.9917 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/5.208, allocations: 17.73 kB / 0.9917 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/5.209, allocations: 25.34 kB / 0.9917 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001727/5.21, allocations: 443.1 kB / 0.9921 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/5.212, allocations: 0.5303 MB / 0.9927 GB, free: 97.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/5.212, allocations: 3.094 kB / 0.9927 GB, free: 97.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/5.212, allocations: 3.938 kB / 0.9927 GB, free: 97.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/5.212, allocations: 11.78 kB / 0.9927 GB, free: 97.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/5.22, allocations: 2.724 MB / 0.9953 GB, free: 96.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/5.221, allocations: 247.5 kB / 0.9956 GB, free: 96.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/5.221, allocations: 119.1 kB / 0.9957 GB, free: 96.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/5.222, allocations: 195.5 kB / 0.9959 GB, free: 96.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/5.222, allocations: 190.1 kB / 0.9961 GB, free: 96.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 4.809e-06/5.222, allocations: 0 / 0.9961 GB, free: 96.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.03128/5.254, allocations: 1.585 MB / 0.9976 GB, free: 96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/5.254, allocations: 159.8 kB / 0.9978 GB, free: 95.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/5.255, allocations: 0.5059 MB / 0.9983 GB, free: 95.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/5.255, allocations: 25.7 kB / 0.9983 GB, free: 95.67 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/5.256, allocations: 312.1 kB / 0.9986 GB, free: 95.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/5.256, allocations: 77.03 kB / 0.9987 GB, free: 95.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/5.256, allocations: 3.875 kB / 0.9987 GB, free: 95.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/5.256, allocations: 368.3 kB / 0.999 GB, free: 95.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/5.257, allocations: 150.1 kB / 0.9991 GB, free: 95.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/5.258, allocations: 374 kB / 0.9995 GB, free: 94.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02308/5.281, allocations: 1.532 MB / 1.001 GB, free: 94.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/5.281, allocations: 0 / 1.001 GB, free: 94.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0329/5.314, allocations: 1.904 MB / 1.003 GB, free: 94.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008896/5.315, allocations: 2.699 MB / 1.005 GB, free: 91.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/5.315, allocations: 3.906 kB / 1.006 GB, free: 91.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.626e-05/5.315, allocations: 14.72 kB / 1.006 GB, free: 91.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01814/5.333, allocations: 0.6256 MB / 1.006 GB, free: 91.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00932/5.342, allocations: 1.039 MB / 1.007 GB, free: 91.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/5.344, allocations: 65.05 kB / 1.007 GB, free: 91.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/5.345, allocations: 60.39 kB / 1.007 GB, free: 91.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/5.345, allocations: 5.656 kB / 1.007 GB, free: 91.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00845/5.353, allocations: 0.9234 MB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/5.353, allocations: 11.12 kB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/5.353, allocations: 15.38 kB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/5.354, allocations: 135.2 kB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/5.354, allocations: 13.78 kB / 1.008 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/5.355, allocations: 51.17 kB / 1.008 GB, free: 91.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/5.355, allocations: 55 kB / 1.008 GB, free: 91.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003137/5.356, allocations: 168.5 kB / 1.009 GB, free: 91.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/5.356, allocations: 61.08 kB / 1.009 GB, free: 91.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/5.363, allocations: 0.7714 MB / 1.009 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/5.363, allocations: 2.781 kB / 1.009 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/5.363, allocations: 3.938 kB / 1.009 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/5.363, allocations: 3.469 kB / 1.009 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/5.364, allocations: 441.4 kB / 1.01 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/5.364, allocations: 0 / 1.01 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004/5.368, allocations: 185.4 kB / 1.01 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/5.368, allocations: 0 / 1.01 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/5.368, allocations: 7.297 kB / 1.01 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/5.37, allocations: 0.7257 MB / 1.011 GB, free: 90.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/5.37, allocations: 3.719 kB / 1.011 GB, free: 90.39 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005965/5.376, allocations: 0.6798 MB / 1.011 GB, free: 90.29 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006208/5.382, allocations: 1.101 MB / 1.012 GB, free: 89.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/5.383, allocations: 147.7 kB / 1.013 GB, free: 89.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/5.383, allocations: 4.656 kB / 1.013 GB, free: 89.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/5.383, allocations: 22.25 kB / 1.013 GB, free: 89.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/5.383, allocations: 16.59 kB / 1.013 GB, free: 89.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/5.384, allocations: 13.81 kB / 1.013 GB, free: 89.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008392/5.384, allocations: 403.2 kB / 1.013 GB, free: 89.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005897/5.39, allocations: 0.7693 MB / 1.014 GB, free: 89.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003835/5.394, allocations: 1.362 MB / 1.015 GB, free: 89.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02765/5.422, allocations: 1.485 MB / 1.017 GB, free: 89.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/5.422, allocations: 3.875 kB / 1.017 GB, free: 89.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006756/5.429, allocations: 388.5 kB / 1.017 GB, free: 89.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/5.431, allocations: 202.6 kB / 1.017 GB, free: 89.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/5.445, allocations: 2.383 MB / 1.019 GB, free: 88.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/5.446, allocations: 1.007 MB / 1.02 GB, free: 88.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/5.446, allocations: 0 / 1.02 GB, free: 88.24 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat