Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.839/2.839, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2276/3.067, allocations: 57.21 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/3.403, allocations: 54.84 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.029/10.43, allocations: 2.595 GB / 2.941 GB, free: 102.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/10.43, allocations: 83.58 kB / 2.941 GB, free: 102.1 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 .... Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 2.188/12.62, allocations: 407.9 MB / 3.339 GB, free: 45.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/12.62, allocations: 10.22 kB / 3.339 GB, free: 45.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/12.63, allocations: 262.7 kB / 3.339 GB, free: 45.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/12.63, allocations: 443.1 kB / 3.34 GB, free: 45.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/12.63, allocations: 13.56 kB / 3.34 GB, free: 45.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/12.63, allocations: 22.81 kB / 3.34 GB, free: 45.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/12.63, allocations: 358 kB / 3.34 GB, free: 45.15 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/12.63, allocations: 470 kB / 3.341 GB, free: 44.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/12.63, allocations: 6.875 kB / 3.341 GB, free: 44.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/12.63, allocations: 0 / 3.341 GB, free: 44.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/12.63, allocations: 13.69 kB / 3.341 GB, free: 44.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2837/12.92, allocations: 50.55 MB / 3.39 GB, free: 2.918 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/12.92, allocations: 179 kB / 3.39 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/12.92, allocations: 105.1 kB / 3.39 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4356/13.35, allocations: 49.7 MB / 3.439 GB, free: 83.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/13.35, allocations: 41.41 kB / 3.439 GB, free: 83.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/13.35, allocations: 3.719 kB / 3.439 GB, free: 83.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.00355/13.36, allocations: 0.5145 MB / 3.439 GB, free: 83.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/13.36, allocations: 106.8 kB / 3.439 GB, free: 83.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/13.36, allocations: 290.8 kB / 3.44 GB, free: 83.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/13.36, allocations: 29.39 kB / 3.44 GB, free: 83.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/13.36, allocations: 260 kB / 3.44 GB, free: 83.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/13.36, allocations: 75.72 kB / 3.44 GB, free: 83.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/13.36, allocations: 0 / 3.44 GB, free: 83.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/13.36, allocations: 343.5 kB / 3.44 GB, free: 83.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/13.36, allocations: 97.72 kB / 3.441 GB, free: 83.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/13.36, allocations: 291.4 kB / 3.441 GB, free: 82.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/13.36, allocations: 246.9 kB / 3.441 GB, free: 82.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/13.36, allocations: 0 / 3.441 GB, free: 82.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00409/13.36, allocations: 0.7553 MB / 3.442 GB, free: 82.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006669/13.36, allocations: 2.437 MB / 3.444 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/13.36, allocations: 3.531 kB / 3.444 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/13.37, allocations: 45.22 kB / 3.444 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/13.37, allocations: 114.2 kB / 3.444 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/13.37, allocations: 0.6767 MB / 3.445 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/13.37, allocations: 64.88 kB / 3.445 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/13.37, allocations: 30.61 kB / 3.445 GB, free: 79.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/13.37, allocations: 3.938 kB / 3.445 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002958/13.37, allocations: 394.1 kB / 3.445 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/13.37, allocations: 7.25 kB / 3.445 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/13.37, allocations: 11.44 kB / 3.445 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/13.37, allocations: 121.4 kB / 3.446 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/13.37, allocations: 15 kB / 3.446 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/13.38, allocations: 48.67 kB / 3.446 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/13.38, allocations: 32.7 kB / 3.446 GB, free: 79.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002764/13.38, allocations: 122.6 kB / 3.446 GB, free: 79.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/13.38, allocations: 178.8 kB / 3.446 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/13.38, allocations: 1.526 MB / 3.447 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-05/13.38, allocations: 23.17 kB / 3.447 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/13.38, allocations: 3.906 kB / 3.447 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/13.38, allocations: 0 / 3.447 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/13.39, allocations: 2.054 MB / 3.449 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/13.39, allocations: 0 / 3.449 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/13.39, allocations: 49.7 kB / 3.45 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/13.39, allocations: 0.5101 MB / 3.45 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/13.39, allocations: 7.719 kB / 3.45 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/13.39, allocations: 1.043 MB / 3.451 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/13.39, allocations: 0 / 3.451 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00497/13.4, allocations: 1.344 MB / 3.452 GB, free: 78.25 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005605/13.4, allocations: 1.807 MB / 3.454 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/13.41, allocations: 171.6 kB / 3.454 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/13.41, allocations: 3.531 kB / 3.454 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/13.41, allocations: 24.19 kB / 3.454 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/13.41, allocations: 31.06 kB / 3.454 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/13.41, allocations: 14.3 kB / 3.454 GB, free: 77.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004759/13.41, allocations: 214.4 kB / 3.455 GB, free: 77.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01194/13.42, allocations: 1.437 MB / 3.456 GB, free: 77.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01422/13.43, allocations: 1.82 MB / 3.458 GB, free: 77.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/13.44, allocations: 0.8064 MB / 3.459 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/13.44, allocations: 0 / 3.459 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/13.44, allocations: 0.5556 MB / 3.459 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/13.44, allocations: 137.3 kB / 3.459 GB, free: 77.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.286/13.72, allocations: 50.79 MB / 3.509 GB, free: 74.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/13.73, allocations: 0.96 MB / 3.51 GB, free: 74.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/13.73, allocations: 0 / 3.51 GB, free: 74.17 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat