Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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(Buildings): time 4.16/4.16, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5434/4.703, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/4.912, allocations: 98.72 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.37/16.28, allocations: 4.66 GB / 5.288 GB, free: 205.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/16.28, allocations: 82.69 kB / 5.288 GB, free: 205.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1193/16.4, allocations: 36.14 MB / 5.323 GB, free: 176.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/16.4, allocations: 12 kB / 5.323 GB, free: 176.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/16.4, allocations: 11.98 kB / 5.323 GB, free: 176.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/16.4, allocations: 166.9 kB / 5.323 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/16.4, allocations: 0 / 5.323 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/16.4, allocations: 4 kB / 5.323 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/16.4, allocations: 19.23 kB / 5.324 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/16.4, allocations: 44.31 kB / 5.324 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/16.4, allocations: 0 / 5.324 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/16.4, allocations: 0 / 5.324 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/16.4, allocations: 4 kB / 5.324 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/16.4, allocations: 149.5 kB / 5.324 GB, free: 175.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/16.4, allocations: 39.39 kB / 5.324 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/16.4, allocations: 16.17 kB / 5.324 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/16.4, allocations: 0 / 5.324 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/16.4, allocations: 30.56 kB / 5.324 GB, free: 175.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/16.4, allocations: 0 / 5.324 GB, free: 175.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.001316/16.4, allocations: 337.5 kB / 5.324 GB, free: 175.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/16.41, allocations: 51.41 kB / 5.324 GB, free: 175.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/16.41, allocations: 92.94 kB / 5.324 GB, free: 175.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/16.41, allocations: 25.7 kB / 5.324 GB, free: 175.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/16.41, allocations: 80.14 kB / 5.324 GB, free: 175.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/16.41, allocations: 37.27 kB / 5.324 GB, free: 175.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/16.41, allocations: 4 kB / 5.324 GB, free: 175.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/16.41, allocations: 321.7 kB / 5.325 GB, free: 174.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/16.41, allocations: 11.44 kB / 5.325 GB, free: 174.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/16.41, allocations: 34.77 kB / 5.325 GB, free: 174.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/16.41, allocations: 23.7 kB / 5.325 GB, free: 174.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/16.41, allocations: 0 / 5.325 GB, free: 174.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003829/16.41, allocations: 89.27 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/16.41, allocations: 6.812 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/16.41, allocations: 4 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/16.41, allocations: 4 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/16.41, allocations: 16 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/16.41, allocations: 0 / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/16.41, allocations: 7.984 kB / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/16.41, allocations: 0 / 5.325 GB, free: 174.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001216/16.41, allocations: 122.8 kB / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/16.41, allocations: 3.906 kB / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/16.41, allocations: 10.84 kB / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/16.41, allocations: 4 kB / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/16.41, allocations: 0 / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/16.41, allocations: 0 / 5.325 GB, free: 174.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/16.41, allocations: 148.6 kB / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/16.41, allocations: 3.906 kB / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/16.41, allocations: 20 kB / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/16.41, allocations: 0 / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/16.41, allocations: 3.984 kB / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/16.41, allocations: 3.984 kB / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/16.41, allocations: 0 / 5.325 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004145/16.41, allocations: 135 kB / 5.325 GB, free: 174.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000493/16.41, allocations: 0.5269 MB / 5.326 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/16.41, allocations: 89 kB / 5.326 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/16.41, allocations: 0 / 5.326 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/16.41, allocations: 8 kB / 5.326 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/16.41, allocations: 11.55 kB / 5.326 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/16.41, allocations: 4 kB / 5.326 GB, free: 173.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.822e-05/16.41, allocations: 75.28 kB / 5.326 GB, free: 173.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002735/16.41, allocations: 87.48 kB / 5.326 GB, free: 173.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001502/16.41, allocations: 0.6756 MB / 5.327 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003392/16.41, allocations: 47.11 kB / 5.327 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/16.41, allocations: 3.938 kB / 5.327 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/16.41, allocations: 36.39 kB / 5.327 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/16.41, allocations: 480 / 5.327 GB, free: 172.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/16.42, allocations: 266.1 kB / 5.327 GB, free: 172.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/16.42, allocations: 0.7114 MB / 5.328 GB, free: 171.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.643e-06/16.42, allocations: 0 / 5.328 GB, free: 171.6 MB / 0.823 GB