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.Orifice.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.Orifice,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_Orifice",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.172/4.172, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5333/4.706, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/4.954, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.766/10.72, allocations: 2.178 GB / 2.806 GB, free: 170.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/10.72, allocations: 86.95 kB / 2.806 GB, free: 170.5 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 1.681/12.4, allocations: 342.8 MB / 3.141 GB, free: 142.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/12.4, allocations: 9 kB / 3.141 GB, free: 142.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/12.4, allocations: 191.4 kB / 3.141 GB, free: 142.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/12.4, allocations: 404.8 kB / 3.142 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/12.4, allocations: 9.031 kB / 3.142 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/12.4, allocations: 22.88 kB / 3.142 GB, free: 142.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008656/12.41, allocations: 264.8 kB / 3.142 GB, free: 142.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/12.41, allocations: 341.5 kB / 3.142 GB, free: 141.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/12.41, allocations: 3.906 kB / 3.142 GB, free: 141.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/12.41, allocations: 1.5 kB / 3.142 GB, free: 141.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/12.41, allocations: 11.08 kB / 3.142 GB, free: 141.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/12.41, allocations: 1.63 MB / 3.144 GB, free: 140.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/12.41, allocations: 269.6 kB / 3.144 GB, free: 140.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/12.41, allocations: 122.6 kB / 3.144 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/12.41, allocations: 1.045 MB / 3.145 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/12.41, allocations: 33.16 kB / 3.145 GB, free: 139.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/12.41, allocations: 0 / 3.145 GB, free: 139.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.001973/12.41, allocations: 319.8 kB / 3.146 GB, free: 138.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/12.41, allocations: 53.97 kB / 3.146 GB, free: 138.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/12.41, allocations: 257.1 kB / 3.146 GB, free: 138.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/12.41, allocations: 27.36 kB / 3.146 GB, free: 138.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/12.41, allocations: 169.8 kB / 3.146 GB, free: 138.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/12.42, allocations: 84.75 kB / 3.146 GB, free: 138.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/12.42, allocations: 1.719 kB / 3.146 GB, free: 138.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/12.42, allocations: 345.4 kB / 3.147 GB, free: 138.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/12.42, allocations: 58.84 kB / 3.147 GB, free: 138.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/12.42, allocations: 117.4 kB / 3.147 GB, free: 138 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/12.42, allocations: 128.6 kB / 3.147 GB, free: 137.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/12.42, allocations: 1.375 kB / 3.147 GB, free: 137.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001029/12.42, allocations: 280.7 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/12.42, allocations: 4.469 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/12.42, allocations: 1 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/12.42, allocations: 2.719 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/12.42, allocations: 58.42 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/12.42, allocations: 6.828 kB / 3.147 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/12.42, allocations: 34.58 kB / 3.147 GB, free: 137.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/12.42, allocations: 7.906 kB / 3.147 GB, free: 137.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001096/12.42, allocations: 111.2 kB / 3.147 GB, free: 137.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/12.42, allocations: 40.22 kB / 3.147 GB, free: 137.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/12.42, allocations: 293 kB / 3.148 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/12.42, allocations: 3.312 kB / 3.148 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/12.42, allocations: 0 / 3.148 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/12.42, allocations: 0 / 3.148 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/12.42, allocations: 0.7972 MB / 3.148 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/12.42, allocations: 15.06 kB / 3.148 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/12.42, allocations: 53.12 kB / 3.148 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/12.42, allocations: 3.188 kB / 3.148 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/12.42, allocations: 4.219 kB / 3.149 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/12.42, allocations: 2.312 kB / 3.149 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/12.42, allocations: 3.281 kB / 3.149 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001286/12.42, allocations: 0.6057 MB / 3.149 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001863/12.43, allocations: 1.144 MB / 3.15 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/12.43, allocations: 129.4 kB / 3.15 GB, free: 135.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/12.43, allocations: 7.719 kB / 3.15 GB, free: 135.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/12.43, allocations: 31.59 kB / 3.15 GB, free: 135.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/12.43, allocations: 16.61 kB / 3.15 GB, free: 135.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/12.43, allocations: 12.12 kB / 3.15 GB, free: 135.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003319/12.43, allocations: 207.2 kB / 3.151 GB, free: 135 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002309/12.43, allocations: 340.6 kB / 3.151 GB, free: 134.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.002495/12.43, allocations: 1.381 MB / 3.152 GB, free: 134.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000718/12.43, allocations: 168.3 kB / 3.152 GB, free: 134.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/12.43, allocations: 1.375 kB / 3.152 GB, free: 134.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/12.43, allocations: 100.9 kB / 3.153 GB, free: 134 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/12.44, allocations: 145.3 kB / 3.153 GB, free: 133.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/12.44, allocations: 0.6705 MB / 3.153 GB, free: 133.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/12.44, allocations: 0.8815 MB / 3.154 GB, free: 132.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.352e-06/12.44, allocations: 3.938 kB / 3.154 GB, free: 132.7 MB / 0.823 GB