Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_DryAirNasa",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.821/1.821, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2547/2.076, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/2.196, allocations: 48.68 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.568/3.764, allocations: 0.5994 GB / 0.9079 GB, free: 60.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/3.765, allocations: 80.05 kB / 0.908 GB, free: 60.49 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.1677/3.932, allocations: 45.6 MB / 0.9525 GB, free: 17.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/3.932, allocations: 15.94 kB / 0.9525 GB, free: 17.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/3.933, allocations: 7.906 kB / 0.9526 GB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/3.933, allocations: 166.9 kB / 0.9527 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/3.933, allocations: 0 / 0.9527 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/3.933, allocations: 4 kB / 0.9527 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001549/3.933, allocations: 47.97 kB / 0.9528 GB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/3.933, allocations: 61.67 kB / 0.9528 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/3.933, allocations: 4 kB / 0.9528 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/3.933, allocations: 0 / 0.9528 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/3.933, allocations: 4 kB / 0.9528 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/3.934, allocations: 362.2 kB / 0.9532 GB, free: 16.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/3.934, allocations: 45.7 kB / 0.9532 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/3.934, allocations: 24.84 kB / 0.9532 GB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/3.935, allocations: 1.005 MB / 0.9542 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/3.935, allocations: 34.56 kB / 0.9543 GB, free: 15.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.747e-06/3.936, allocations: 0 / 0.9543 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.01434/3.95, allocations: 0.9223 MB / 0.9552 GB, free: 14.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/3.95, allocations: 55.41 kB / 0.9552 GB, free: 14.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/3.95, allocations: 104.9 kB / 0.9553 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/3.95, allocations: 25.7 kB / 0.9553 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/3.95, allocations: 88.33 kB / 0.9554 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/3.95, allocations: 51.3 kB / 0.9555 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/3.95, allocations: 0 / 0.9555 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/3.95, allocations: 314.8 kB / 0.9558 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/3.951, allocations: 67.98 kB / 0.9558 GB, free: 13.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/3.951, allocations: 95.62 kB / 0.9559 GB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/3.953, allocations: 239.7 kB / 0.9561 GB, free: 13.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/3.953, allocations: 0 / 0.9561 GB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.002995/3.956, allocations: 369.9 kB / 0.9565 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/3.956, allocations: 4 kB / 0.9565 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/3.956, allocations: 7.938 kB / 0.9565 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/3.956, allocations: 3.906 kB / 0.9565 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/3.957, allocations: 51.94 kB / 0.9566 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/3.957, allocations: 0 / 0.9566 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/3.958, allocations: 20.05 kB / 0.9566 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/3.958, allocations: 11.98 kB / 0.9566 GB, free: 12.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001324/3.959, allocations: 108.9 kB / 0.9567 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/3.959, allocations: 7.906 kB / 0.9567 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/3.962, allocations: 497.2 kB / 0.9572 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/3.962, allocations: 3.906 kB / 0.9572 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/3.962, allocations: 4 kB / 0.9572 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/3.962, allocations: 0 / 0.9572 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/3.966, allocations: 0.8379 MB / 0.958 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/3.966, allocations: 0 / 0.958 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/3.967, allocations: 47.91 kB / 0.9581 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/3.967, allocations: 3.906 kB / 0.9581 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/3.967, allocations: 7.984 kB / 0.9581 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/3.967, allocations: 0 / 0.9581 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/3.967, allocations: 7.922 kB / 0.9581 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002813/3.97, allocations: 473.2 kB / 0.9585 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003351/3.973, allocations: 0.8646 MB / 0.9594 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/3.973, allocations: 109 kB / 0.9595 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/3.973, allocations: 3.984 kB / 0.9595 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/3.974, allocations: 4 kB / 0.9595 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/3.974, allocations: 15.98 kB / 0.9595 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/3.974, allocations: 7.984 kB / 0.9595 GB, free: 9.781 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.28e-05/3.974, allocations: 87.53 kB / 0.9596 GB, free: 9.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001792/3.976, allocations: 199.8 kB / 0.9598 GB, free: 9.5 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001437/3.978, allocations: 0.7394 MB / 0.9605 GB, free: 8.758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006271/3.978, allocations: 176 kB / 0.9607 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/3.978, allocations: 0 / 0.9607 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/3.979, allocations: 104 kB / 0.9608 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/3.979, allocations: 31.88 kB / 0.9608 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/3.98, allocations: 175.5 kB / 0.961 GB, free: 8.254 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/3.981, allocations: 0.7426 MB / 0.9617 GB, free: 7.484 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/3.981, allocations: 4 kB / 0.9617 GB, free: 7.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat