Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.938/1.938, allocations: 209.3 MB / 216.3 MB, free: 4.23 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1632/2.101, allocations: 51.02 MB / 267.3 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/2.368, allocations: 48.69 MB / 316 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/4.183, allocations: 0.7202 GB / 1.029 GB, free: 36.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/4.183, allocations: 62.28 kB / 1.029 GB, free: 36.05 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1928/4.376, allocations: 39.8 MB / 1.068 GB, free: 1.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/4.376, allocations: 8 kB / 1.068 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008187/4.384, allocations: 435 kB / 1.068 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/4.385, allocations: 254.9 kB / 1.068 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/4.385, allocations: 4 kB / 1.068 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/4.385, allocations: 15.91 kB / 1.068 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001767/4.387, allocations: 480.5 kB / 1.069 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/4.388, allocations: 313.4 kB / 1.069 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/4.388, allocations: 0 / 1.069 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/4.388, allocations: 0 / 1.069 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/4.388, allocations: 8 kB / 1.069 GB, free: 404 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/4.528, allocations: 0.953 MB / 1.07 GB, free: 173.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/4.529, allocations: 217.5 kB / 1.07 GB, free: 173.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/4.529, allocations: 134.7 kB / 1.07 GB, free: 173.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/4.531, allocations: 0.6621 MB / 1.071 GB, free: 172.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/4.531, allocations: 40.16 kB / 1.071 GB, free: 172.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/4.531, allocations: 0 / 1.071 GB, free: 172.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009577/4.532, allocations: 257.8 kB / 1.071 GB, free: 172.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/4.532, allocations: 80.83 kB / 1.071 GB, free: 172.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/4.532, allocations: 110 kB / 1.072 GB, free: 172.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/4.532, allocations: 25.7 kB / 1.072 GB, free: 172.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/4.532, allocations: 111.5 kB / 1.072 GB, free: 172.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/4.532, allocations: 103.4 kB / 1.072 GB, free: 172.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/4.532, allocations: 0 / 1.072 GB, free: 172.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/4.532, allocations: 330.6 kB / 1.072 GB, free: 172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/4.533, allocations: 99.89 kB / 1.072 GB, free: 171.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/4.533, allocations: 187.9 kB / 1.072 GB, free: 171.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/4.533, allocations: 126.6 kB / 1.072 GB, free: 171.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/4.533, allocations: 3.719 kB / 1.072 GB, free: 171.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000922/4.534, allocations: 327.4 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/4.534, allocations: 4.281 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/4.534, allocations: 3.781 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/4.534, allocations: 11.97 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/4.535, allocations: 74.12 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/4.535, allocations: 11.77 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/4.536, allocations: 16.17 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/4.536, allocations: 25.8 kB / 1.073 GB, free: 171.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/4.536, allocations: 112.3 kB / 1.073 GB, free: 171.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/4.536, allocations: 15.72 kB / 1.073 GB, free: 171.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/4.537, allocations: 361.8 kB / 1.073 GB, free: 171.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/4.537, allocations: 3.406 kB / 1.073 GB, free: 171.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/4.537, allocations: 0 / 1.073 GB, free: 171.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/4.537, allocations: 2.875 kB / 1.073 GB, free: 171.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/4.538, allocations: 316.1 kB / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/4.538, allocations: 0 / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/4.539, allocations: 63.48 kB / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/4.539, allocations: 3.969 kB / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/4.539, allocations: 7.031 kB / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/4.539, allocations: 0 / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.539, allocations: 3.312 kB / 1.074 GB, free: 171.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009947/4.54, allocations: 0.5245 MB / 1.074 GB, free: 171.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001439/4.541, allocations: 1.017 MB / 1.075 GB, free: 170.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/4.541, allocations: 104.5 kB / 1.075 GB, free: 170.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/4.542, allocations: 6.844 kB / 1.075 GB, free: 170.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/4.542, allocations: 7.266 kB / 1.075 GB, free: 170.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/4.542, allocations: 11.53 kB / 1.075 GB, free: 170.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/4.542, allocations: 27.91 kB / 1.075 GB, free: 170.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.28e-05/4.542, allocations: 85.31 kB / 1.076 GB, free: 170.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002348/4.545, allocations: 319.2 kB / 1.076 GB, free: 170.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002141/4.547, allocations: 0.8595 MB / 1.077 GB, free: 170.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007282/4.548, allocations: 267.7 kB / 1.077 GB, free: 170.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/4.548, allocations: 3.75 kB / 1.077 GB, free: 170.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/4.548, allocations: 132.8 kB / 1.077 GB, free: 170.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/4.549, allocations: 67.5 kB / 1.077 GB, free: 170.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/4.55, allocations: 0.5915 MB / 1.078 GB, free: 170.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/4.551, allocations: 0.7928 MB / 1.078 GB, free: 169.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/4.551, allocations: 0 / 1.078 GB, free: 169.5 MB / 426.7 MB