Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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(ModelicaTest): time 1.986/1.986, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.248/2.234, allocations: 51.03 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/2.357, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.406/4.762, allocations: 0.8475 GB / 1.156 GB, free: 119.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/4.763, allocations: 73.95 kB / 1.156 GB, free: 119.3 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.4863/5.249, allocations: 110.3 MB / 1.264 GB, free: 29.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/5.249, allocations: 8 kB / 1.264 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/5.277, allocations: 1.473 MB / 1.265 GB, free: 27.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/5.279, allocations: 386.3 kB / 1.266 GB, free: 27.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/5.28, allocations: 119.6 kB / 1.266 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/5.281, allocations: 24 kB / 1.266 GB, free: 27.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007752/5.289, allocations: 1.708 MB / 1.267 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/5.293, allocations: 0.886 MB / 1.268 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/5.293, allocations: 4 kB / 1.268 GB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/5.293, allocations: 4 kB / 1.268 GB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/5.293, allocations: 56.64 kB / 1.268 GB, free: 24.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/5.303, allocations: 3.358 MB / 1.272 GB, free: 21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/5.304, allocations: 70.53 kB / 1.272 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/5.304, allocations: 28.92 kB / 1.272 GB, free: 20.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/5.305, allocations: 117.2 kB / 1.272 GB, free: 20.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/5.305, allocations: 34.56 kB / 1.272 GB, free: 20.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/5.305, allocations: 0 / 1.272 GB, free: 20.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.008423/5.313, allocations: 0.7692 MB / 1.273 GB, free: 19.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/5.313, allocations: 51.41 kB / 1.273 GB, free: 19.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/5.314, allocations: 337.5 kB / 1.273 GB, free: 19.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/5.314, allocations: 29.7 kB / 1.273 GB, free: 19.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/5.314, allocations: 365.1 kB / 1.273 GB, free: 19.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/5.314, allocations: 55.38 kB / 1.273 GB, free: 19.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/5.314, allocations: 3.938 kB / 1.273 GB, free: 19.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/5.314, allocations: 338.8 kB / 1.274 GB, free: 18.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/5.314, allocations: 113.5 kB / 1.274 GB, free: 18.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/5.315, allocations: 0.5394 MB / 1.274 GB, free: 17.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/5.316, allocations: 252.1 kB / 1.275 GB, free: 17.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/5.316, allocations: 4 kB / 1.275 GB, free: 17.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001722/5.317, allocations: 0.6049 MB / 1.275 GB, free: 16.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/5.317, allocations: 4 kB / 1.275 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/5.318, allocations: 19.98 kB / 1.275 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/5.318, allocations: 24 kB / 1.275 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/5.319, allocations: 199.7 kB / 1.275 GB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003798/5.319, allocations: 0.6252 MB / 1.276 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/5.32, allocations: 16 kB / 1.276 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/5.32, allocations: 63.98 kB / 1.276 GB, free: 15.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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.0001495/5.32, allocations: 144.5 kB / 1.276 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/5.321, allocations: 31.62 kB / 1.276 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/5.321, allocations: 165.6 kB / 1.276 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/5.321, allocations: 4 kB / 1.276 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/5.321, allocations: 4 kB / 1.276 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/5.321, allocations: 0 / 1.276 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/5.322, allocations: 0.5446 MB / 1.277 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/5.322, allocations: 3.938 kB / 1.277 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/5.323, allocations: 35.92 kB / 1.277 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/5.323, allocations: 8.062 kB / 1.277 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/5.323, allocations: 3.984 kB / 1.277 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003011/5.323, allocations: 0.5898 MB / 1.278 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/5.323, allocations: 0 / 1.278 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003285/5.323, allocations: 248.4 kB / 1.278 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005435/5.324, allocations: 0.6567 MB / 1.279 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/5.324, allocations: 132.6 kB / 1.279 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/5.324, allocations: 0 / 1.279 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/5.325, allocations: 11.98 kB / 1.279 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/5.325, allocations: 7.984 kB / 1.279 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/5.325, allocations: 12 kB / 1.279 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003647/5.325, allocations: 228.6 kB / 1.279 GB, free: 12.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004564/5.33, allocations: 0.5386 MB / 1.279 GB, free: 12.45 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.00992/5.34, allocations: 1.43 MB / 1.281 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/5.341, allocations: 305.3 kB / 1.281 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/5.341, allocations: 2.562 kB / 1.281 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/5.342, allocations: 55.84 kB / 1.281 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/5.342, allocations: 40.08 kB / 1.281 GB, free: 10.61 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4942/5.837, allocations: 54.3 MB / 1.334 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/5.837, allocations: 0.8565 MB / 1.335 GB, free: 137.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/5.837, allocations: 2.719 kB / 1.335 GB, free: 137.5 MB / 426.7 MB