Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.Orifice") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 253.1 MB / 260.4 MB, free: 11.77 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001628, allocations: 182.2 kB / 319.6 MB, free: 2.258 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 0.5704 GB, free: 8.316 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 110.6 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.105e-06, allocations: 0 / 0.7843 GB, free: 5.441 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.592, allocations: 106.2 MB / 0.888 GB, free: 64.53 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.224/5.816, allocations: 2.182 GB / 3.07 GB, free: 75.95 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/5.817, allocations: 87.69 kB / 3.07 GB, free: 75.9 MB / 0.878 GB Notification: Performance of FrontEnd: time 1.533/7.35, allocations: 343 MB / 3.405 GB, free: 90.33 MB / 0.878 GB Notification: Performance of Transformations before backend: time 4.43e-05/7.35, allocations: 15.94 kB / 3.405 GB, free: 90.32 MB / 0.878 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 0.001686/7.351, allocations: 0.7747 MB / 3.406 GB, free: 89.5 MB / 0.878 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/7.351, allocations: 8.031 kB / 3.406 GB, free: 89.49 MB / 0.878 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/7.353, allocations: 183.2 kB / 3.406 GB, free: 89.31 MB / 0.878 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/7.354, allocations: 412 kB / 3.406 GB, free: 88.87 MB / 0.878 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/7.354, allocations: 16 kB / 3.406 GB, free: 88.86 MB / 0.878 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/7.355, allocations: 20 kB / 3.406 GB, free: 88.84 MB / 0.878 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007166/7.355, allocations: 253.2 kB / 3.407 GB, free: 88.59 MB / 0.878 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/7.356, allocations: 347.1 kB / 3.407 GB, free: 88.22 MB / 0.878 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/7.356, allocations: 0 / 3.407 GB, free: 88.22 MB / 0.878 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/7.356, allocations: 0 / 3.407 GB, free: 88.22 MB / 0.878 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/7.356, allocations: 11.91 kB / 3.407 GB, free: 88.21 MB / 0.878 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/7.359, allocations: 1.632 MB / 3.409 GB, free: 86.47 MB / 0.878 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/7.36, allocations: 246.6 kB / 3.409 GB, free: 86.22 MB / 0.878 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/7.36, allocations: 124.8 kB / 3.409 GB, free: 86.09 MB / 0.878 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/7.361, allocations: 1.044 MB / 3.41 GB, free: 84.83 MB / 0.878 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/7.361, allocations: 34.56 kB / 3.41 GB, free: 84.79 MB / 0.878 GB Notification: Performance of pre-optimization done (n=25): time 3.858e-06/7.361, allocations: 4 kB / 3.41 GB, free: 84.78 MB / 0.878 GB Notification: Performance of matching and sorting (n=25): time 0.0017/7.363, allocations: 321.3 kB / 3.41 GB, free: 84.46 MB / 0.878 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/7.363, allocations: 51.41 kB / 3.41 GB, free: 84.4 MB / 0.878 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/7.363, allocations: 254.1 kB / 3.411 GB, free: 84.14 MB / 0.878 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/7.363, allocations: 25.7 kB / 3.411 GB, free: 84.11 MB / 0.878 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/7.364, allocations: 176.2 kB / 3.411 GB, free: 83.93 MB / 0.878 GB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/7.364, allocations: 74.77 kB / 3.411 GB, free: 83.86 MB / 0.878 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/7.364, allocations: 8 kB / 3.411 GB, free: 83.85 MB / 0.878 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/7.364, allocations: 342.8 kB / 3.411 GB, free: 83.51 MB / 0.878 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/7.364, allocations: 60.45 kB / 3.411 GB, free: 83.45 MB / 0.878 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/7.364, allocations: 112.6 kB / 3.411 GB, free: 83.32 MB / 0.878 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/7.365, allocations: 130.7 kB / 3.411 GB, free: 83.2 MB / 0.878 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/7.365, allocations: 4 kB / 3.411 GB, free: 83.19 MB / 0.878 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008431/7.366, allocations: 279.8 kB / 3.412 GB, free: 82.91 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/7.366, allocations: 4 kB / 3.412 GB, free: 82.91 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/7.366, allocations: 0 / 3.412 GB, free: 82.91 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/7.366, allocations: 4 kB / 3.412 GB, free: 82.91 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/7.366, allocations: 55.91 kB / 3.412 GB, free: 82.85 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/7.366, allocations: 4 kB / 3.412 GB, free: 82.85 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/7.367, allocations: 35.84 kB / 3.412 GB, free: 82.81 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/7.367, allocations: 8 kB / 3.412 GB, free: 82.8 MB / 0.878 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.0001026/7.367, allocations: 113.5 kB / 3.412 GB, free: 82.69 MB / 0.878 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/7.367, allocations: 39.62 kB / 3.412 GB, free: 82.65 MB / 0.878 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/7.368, allocations: 302 kB / 3.412 GB, free: 82.35 MB / 0.878 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/7.368, allocations: 0 / 3.412 GB, free: 82.35 MB / 0.878 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/7.368, allocations: 0 / 3.412 GB, free: 82.35 MB / 0.878 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/7.368, allocations: 3.984 kB / 3.412 GB, free: 82.34 MB / 0.878 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/7.37, allocations: 0.7909 MB / 3.413 GB, free: 81.48 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/7.37, allocations: 4 kB / 3.413 GB, free: 81.48 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/7.37, allocations: 56.16 kB / 3.413 GB, free: 81.43 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/7.37, allocations: 8 kB / 3.413 GB, free: 81.42 MB / 0.878 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/7.37, allocations: 7.906 kB / 3.413 GB, free: 81.41 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/7.37, allocations: 4 kB / 3.413 GB, free: 81.41 MB / 0.878 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/7.37, allocations: 4 kB / 3.413 GB, free: 81.4 MB / 0.878 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001134/7.371, allocations: 0.6119 MB / 3.414 GB, free: 80.7 MB / 0.878 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/7.372, allocations: 140.5 kB / 3.414 GB, free: 80.55 MB / 0.878 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/7.372, allocations: 4 kB / 3.414 GB, free: 80.54 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/7.372, allocations: 31.91 kB / 3.414 GB, free: 80.51 MB / 0.878 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/7.372, allocations: 19.89 kB / 3.414 GB, free: 80.49 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/7.372, allocations: 8 kB / 3.414 GB, free: 80.48 MB / 0.878 GB Notification: Performance of sort global known variables: time 0.000266/7.373, allocations: 204.6 kB / 3.414 GB, free: 80.29 MB / 0.878 GB Notification: Performance of remove unused functions: time 0.0009675/7.374, allocations: 203.7 kB / 3.414 GB, free: 80.09 MB / 0.878 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.002103/7.376, allocations: 1.369 MB / 3.416 GB, free: 78.69 MB / 0.878 GB Notification: Performance of simCode: created initialization part: time 0.0005302/7.376, allocations: 172.4 kB / 3.416 GB, free: 78.52 MB / 0.878 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/7.376, allocations: 0 / 3.416 GB, free: 78.52 MB / 0.878 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/7.377, allocations: 100.4 kB / 3.416 GB, free: 78.42 MB / 0.878 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/7.378, allocations: 139.4 kB / 3.416 GB, free: 78.29 MB / 0.878 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/7.38, allocations: 0.6646 MB / 3.417 GB, free: 77.58 MB / 0.878 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/7.381, allocations: 0.8726 MB / 3.418 GB, free: 76.68 MB / 0.878 GB Notification: Performance of SimCode: time 1.052e-06/7.381, allocations: 0 / 3.418 GB, free: 76.68 MB / 0.878 GB Notification: Performance of Templates: time 0.03229/7.413, allocations: 12.67 MB / 3.43 GB, free: 64.1 MB / 0.878 GB