Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.484/2.484, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002718/0.002717, allocations: 184.3 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.1 MB / 0.5658 GB, free: 356 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001389/0.001388, allocations: 91.27 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5013/0.5028, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.8014, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/6.607, allocations: 2.211 GB / 3.094 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/6.607, allocations: 88.7 kB / 3.095 GB, free: 157.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 8.769/15.38, allocations: 1.596 GB / 4.691 GB, free: 89.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/15.38, allocations: 7.469 kB / 4.691 GB, free: 89.09 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/15.39, allocations: 0.9043 MB / 4.692 GB, free: 88.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007739/15.4, allocations: 1.89 MB / 4.694 GB, free: 88.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/15.4, allocations: 92.47 kB / 4.694 GB, free: 88.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/15.4, allocations: 175.3 kB / 4.694 GB, free: 88.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01225/15.41, allocations: 3.315 MB / 4.697 GB, free: 88.58 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/15.42, allocations: 3.218 MB / 4.7 GB, free: 88.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/15.42, allocations: 14.31 kB / 4.7 GB, free: 88.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/15.42, allocations: 5.469 kB / 4.7 GB, free: 88.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/15.42, allocations: 126.2 kB / 4.7 GB, free: 88.26 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03336/15.46, allocations: 13.91 MB / 4.714 GB, free: 80.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008531/15.47, allocations: 2.82 MB / 4.717 GB, free: 80.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005308/15.47, allocations: 1.761 MB / 4.718 GB, free: 80.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/15.47, allocations: 1.595 MB / 4.72 GB, free: 79.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.587e-05/15.47, allocations: 59.09 kB / 4.72 GB, free: 78.99 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=285): time 5.711e-06/15.47, allocations: 3.875 kB / 4.72 GB, free: 78.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=285): time 0.01577/15.49, allocations: 3.211 MB / 4.723 GB, free: 78.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/15.49, allocations: 80.69 kB / 4.723 GB, free: 78.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/15.49, allocations: 0.9715 MB / 4.724 GB, free: 78.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008403/15.49, allocations: 29.52 kB / 4.724 GB, free: 78.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/15.49, allocations: 0.762 MB / 4.725 GB, free: 78.08 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/15.49, allocations: 0.9269 MB / 4.726 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/15.5, allocations: 0 / 4.726 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000356/15.5, allocations: 405.4 kB / 4.726 GB, free: 77.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004416/15.5, allocations: 1.152 MB / 4.727 GB, free: 77.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/15.51, allocations: 1.445 MB / 4.729 GB, free: 76.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006733/15.51, allocations: 1.574 MB / 4.73 GB, free: 76.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/15.51, allocations: 3.906 kB / 4.73 GB, free: 76.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01362/15.53, allocations: 3.238 MB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/15.53, allocations: 5.438 kB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/15.53, allocations: 2.562 kB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/15.53, allocations: 13.66 kB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006638/15.53, allocations: 0.537 MB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.501e-05/15.53, allocations: 11.19 kB / 4.734 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/15.54, allocations: 275.4 kB / 4.734 GB, free: 76.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009484/15.54, allocations: 98.62 kB / 4.734 GB, free: 76.55 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 312 * 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.0008271/15.54, allocations: 148 kB / 4.735 GB, free: 76.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/15.54, allocations: 212 kB / 4.735 GB, free: 76.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/15.56, allocations: 3.378 MB / 4.738 GB, free: 76.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/15.56, allocations: 26.41 kB / 4.738 GB, free: 76.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/15.56, allocations: 3.469 kB / 4.738 GB, free: 76.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01053/15.57, allocations: 2.817 MB / 4.741 GB, free: 76.03 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/15.59, allocations: 6.605 MB / 4.747 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/15.59, allocations: 6.188 kB / 4.747 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006741/15.6, allocations: 0.5721 MB / 4.748 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.216e-05/15.6, allocations: 14.53 kB / 4.748 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007198/15.6, allocations: 40.17 kB / 4.748 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/15.6, allocations: 11.38 kB / 4.748 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/15.6, allocations: 4.875 kB / 4.748 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01716/15.62, allocations: 5.417 MB / 4.753 GB, free: 74.62 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02274/15.64, allocations: 7.999 MB / 4.761 GB, free: 73.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/15.64, allocations: 0.634 MB / 4.762 GB, free: 73.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/15.65, allocations: 20.42 kB / 4.762 GB, free: 73.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008886/15.65, allocations: 187 kB / 4.762 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/15.66, allocations: 138.4 kB / 4.762 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006222/15.66, allocations: 99.09 kB / 4.762 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.003032/15.66, allocations: 0.7493 MB / 4.763 GB, free: 73.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008898/15.67, allocations: 1.752 MB / 4.765 GB, free: 73.02 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * 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.009254/15.68, allocations: 4.57 MB / 4.769 GB, free: 71.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008548/15.69, allocations: 2.883 MB / 4.772 GB, free: 71.06 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/15.69, allocations: 3.938 kB / 4.772 GB, free: 71.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004495/15.69, allocations: 1.553 MB / 4.773 GB, free: 71.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/15.7, allocations: 0.9834 MB / 4.774 GB, free: 71.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/15.72, allocations: 5.525 MB / 4.78 GB, free: 69.97 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005795/15.73, allocations: 2.394 MB / 4.782 GB, free: 69.21 MB / 0.9167 GB Notification: Performance of SimCode: time 2.204e-06/15.73, allocations: 2.938 kB / 4.782 GB, free: 69.21 MB / 0.9167 GB