Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.3/4.3, allocations: 433 MB / 440.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5398/4.84, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/5.067, allocations: 98.73 MB / 0.6283 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.734/10.8, allocations: 2.187 GB / 2.816 GB, free: 161.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/10.8, allocations: 92.39 kB / 2.816 GB, free: 161.4 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 3.138/13.94, allocations: 0.638 GB / 3.454 GB, free: 158.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/13.94, allocations: 12 kB / 3.454 GB, free: 158.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/13.94, allocations: 396.5 kB / 3.454 GB, free: 158.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/13.95, allocations: 0.8699 MB / 3.455 GB, free: 157.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/13.95, allocations: 24 kB / 3.455 GB, free: 157.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/13.95, allocations: 52 kB / 3.455 GB, free: 157.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002445/13.95, allocations: 0.7771 MB / 3.456 GB, free: 156.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/13.95, allocations: 0.922 MB / 3.457 GB, free: 155.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/13.95, allocations: 7.844 kB / 3.457 GB, free: 155.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/13.95, allocations: 4 kB / 3.457 GB, free: 155.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/13.95, allocations: 34 kB / 3.457 GB, free: 155.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00848/13.96, allocations: 4.521 MB / 3.461 GB, free: 150.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/13.96, allocations: 0.6555 MB / 3.462 GB, free: 150 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/13.96, allocations: 449.5 kB / 3.462 GB, free: 149.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/13.96, allocations: 0.6732 MB / 3.463 GB, free: 148.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/13.96, allocations: 42.44 kB / 3.463 GB, free: 148.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/13.96, allocations: 0 / 3.463 GB, free: 148.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.003414/13.97, allocations: 0.7685 MB / 3.464 GB, free: 147.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/13.97, allocations: 60.06 kB / 3.464 GB, free: 147.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/13.97, allocations: 491.7 kB / 3.464 GB, free: 147.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/13.97, allocations: 25.7 kB / 3.464 GB, free: 147.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/13.97, allocations: 332 kB / 3.465 GB, free: 147 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/13.97, allocations: 240.3 kB / 3.465 GB, free: 146.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/13.97, allocations: 0 / 3.465 GB, free: 146.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000168/13.97, allocations: 382.8 kB / 3.465 GB, free: 146.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/13.97, allocations: 265.2 kB / 3.465 GB, free: 146.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/13.97, allocations: 370.9 kB / 3.466 GB, free: 145.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/13.97, allocations: 342.8 kB / 3.466 GB, free: 145.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/13.97, allocations: 0 / 3.466 GB, free: 145.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002477/13.98, allocations: 0.7747 MB / 3.467 GB, free: 144.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/13.98, allocations: 4 kB / 3.467 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/13.98, allocations: 3.281 kB / 3.467 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/13.98, allocations: 11.91 kB / 3.467 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/13.98, allocations: 151.8 kB / 3.467 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/13.98, allocations: 4 kB / 3.467 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/13.98, allocations: 88.59 kB / 3.467 GB, free: 144.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/13.98, allocations: 23.94 kB / 3.467 GB, free: 144.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002455/13.98, allocations: 120.8 kB / 3.467 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/13.98, allocations: 82.97 kB / 3.467 GB, free: 144.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/13.98, allocations: 0.7914 MB / 3.468 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/13.98, allocations: 4 kB / 3.468 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/13.98, allocations: 4 kB / 3.468 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/13.98, allocations: 0.8232 MB / 3.469 GB, free: 142.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/13.99, allocations: 1.776 MB / 3.471 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/13.99, allocations: 0 / 3.471 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/13.99, allocations: 183.8 kB / 3.471 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/13.99, allocations: 4 kB / 3.471 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/13.99, allocations: 7.984 kB / 3.471 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/13.99, allocations: 4 kB / 3.471 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/13.99, allocations: 0 / 3.471 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003095/13.99, allocations: 1.287 MB / 3.472 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004311/14, allocations: 2.208 MB / 3.474 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/14, allocations: 255.8 kB / 3.474 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/14, allocations: 4 kB / 3.474 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/14, allocations: 70.41 kB / 3.475 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/14, allocations: 36.53 kB / 3.475 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/14, allocations: 27.98 kB / 3.475 GB, free: 136.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0008141/14, allocations: 390.7 kB / 3.475 GB, free: 136.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003481/14.01, allocations: 0.6162 MB / 3.476 GB, free: 135.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002906/14.01, allocations: 1.785 MB / 3.477 GB, free: 134.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001807/14.01, allocations: 0.6668 MB / 3.478 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/14.01, allocations: 4 kB / 3.478 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/14.01, allocations: 358.4 kB / 3.478 GB, free: 133.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/14.02, allocations: 456.4 kB / 3.479 GB, free: 132.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/14.02, allocations: 1.778 MB / 3.48 GB, free: 130.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/14.02, allocations: 1.224 MB / 3.482 GB, free: 129.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.393e-06/14.02, allocations: 0 / 3.482 GB, free: 129.7 MB / 0.823 GB