Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_MixtureGases",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(Modelica): time 1.617/1.617, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2257/1.842, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/1.936, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/3.753, allocations: 0.7212 GB / 0.9732 GB, free: 70.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/3.754, allocations: 65.41 kB / 0.9732 GB, free: 70.04 MB / 346.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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.5163/4.27, allocations: 107 MB / 1.078 GB, free: 90.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/4.27, allocations: 10.12 kB / 1.078 GB, free: 90.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/4.274, allocations: 300.2 kB / 1.078 GB, free: 90.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/4.274, allocations: 285.2 kB / 1.078 GB, free: 90.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/4.274, allocations: 6.531 kB / 1.078 GB, free: 90.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/4.274, allocations: 25.66 kB / 1.078 GB, free: 90.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/4.276, allocations: 0.6055 MB / 1.079 GB, free: 89.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/4.277, allocations: 0.5912 MB / 1.079 GB, free: 89.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/4.277, allocations: 3.75 kB / 1.08 GB, free: 89.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.277, allocations: 0 / 1.08 GB, free: 89.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/4.278, allocations: 22.45 kB / 1.08 GB, free: 89.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/4.284, allocations: 1.757 MB / 1.081 GB, free: 88.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/4.285, allocations: 361.2 kB / 1.082 GB, free: 88.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/4.285, allocations: 183.9 kB / 1.082 GB, free: 88.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/4.287, allocations: 0.9084 MB / 1.083 GB, free: 87.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/4.287, allocations: 37.22 kB / 1.083 GB, free: 87.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.816e-06/4.287, allocations: 0 / 1.083 GB, free: 87.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.01333/4.301, allocations: 2.117 MB / 1.085 GB, free: 86.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/4.301, allocations: 82.17 kB / 1.085 GB, free: 86.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/4.301, allocations: 156 kB / 1.085 GB, free: 86.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/4.301, allocations: 26.95 kB / 1.085 GB, free: 86.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/4.301, allocations: 174.6 kB / 1.085 GB, free: 85.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/4.301, allocations: 165 kB / 1.085 GB, free: 85.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/4.301, allocations: 0 / 1.085 GB, free: 85.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/4.302, allocations: 336.1 kB / 1.086 GB, free: 85.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/4.302, allocations: 202.8 kB / 1.086 GB, free: 85.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/4.303, allocations: 354.8 kB / 1.086 GB, free: 85.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/4.304, allocations: 237.6 kB / 1.086 GB, free: 84.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/4.304, allocations: 1.5 kB / 1.086 GB, free: 84.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002042/4.306, allocations: 0.6241 MB / 1.087 GB, free: 84.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/4.306, allocations: 5.594 kB / 1.087 GB, free: 84.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/4.306, allocations: 12.72 kB / 1.087 GB, free: 84.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/4.306, allocations: 56.23 kB / 1.087 GB, free: 84.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/4.308, allocations: 174.8 kB / 1.087 GB, free: 84.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/4.31, allocations: 1.09 MB / 1.088 GB, free: 83.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/4.312, allocations: 43.67 kB / 1.088 GB, free: 83.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/4.312, allocations: 43.55 kB / 1.088 GB, free: 83.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004978/4.313, allocations: 113.1 kB / 1.089 GB, free: 83.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/4.313, allocations: 25.16 kB / 1.089 GB, free: 83.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/4.319, allocations: 0.6968 MB / 1.089 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/4.319, allocations: 5.719 kB / 1.089 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/4.319, allocations: 1.25 kB / 1.089 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/4.319, allocations: 3.891 kB / 1.089 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006645/4.326, allocations: 1.37 MB / 1.091 GB, free: 82.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/4.326, allocations: 2.406 kB / 1.091 GB, free: 82.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/4.329, allocations: 150.6 kB / 1.091 GB, free: 82.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/4.33, allocations: 42.58 kB / 1.091 GB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/4.33, allocations: 24.34 kB / 1.091 GB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/4.333, allocations: 2.415 MB / 1.093 GB, free: 79.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/4.333, allocations: 6.344 kB / 1.093 GB, free: 79.8 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003918/4.337, allocations: 0.9851 MB / 1.094 GB, free: 79.14 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005095/4.342, allocations: 1.615 MB / 1.096 GB, free: 77.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/4.342, allocations: 98.12 kB / 1.096 GB, free: 77.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/4.343, allocations: 10.53 kB / 1.096 GB, free: 77.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/4.345, allocations: 33.58 kB / 1.096 GB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/4.345, allocations: 30.73 kB / 1.096 GB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/4.345, allocations: 35.11 kB / 1.096 GB, free: 77.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001971/4.346, allocations: 119.4 kB / 1.096 GB, free: 77.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005219/4.351, allocations: 477.6 kB / 1.096 GB, free: 77.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009836/4.361, allocations: 1.385 MB / 1.098 GB, free: 77.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002892/4.364, allocations: 0.5165 MB / 1.098 GB, free: 76.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/4.364, allocations: 5.031 kB / 1.098 GB, free: 76.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/4.366, allocations: 462.6 kB / 1.099 GB, free: 76.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/4.367, allocations: 75.14 kB / 1.099 GB, free: 76.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/4.373, allocations: 0.7654 MB / 1.1 GB, free: 76.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/4.375, allocations: 0.8856 MB / 1.1 GB, free: 75.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.324e-06/4.375, allocations: 0 / 1.1 GB, free: 75.48 MB / 346.7 MB