Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 185.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.111/1.111, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.0007389, allocations: 84.17 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.326e-06, allocations: 0 / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.46, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.832/3.292, allocations: 2.064 GB / 3.028 GB, free: 72.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/3.292, allocations: 86.09 kB / 3.028 GB, free: 72.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9011/4.193, allocations: 354.4 MB / 3.374 GB, free: 100 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.46e-05/4.193, allocations: 19.98 kB / 3.374 GB, free: 100 MB / 0.948 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.001219/4.194, allocations: 0.7631 MB / 3.375 GB, free: 99.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/4.194, allocations: 8.531 kB / 3.375 GB, free: 99.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/4.196, allocations: 191.1 kB / 3.375 GB, free: 99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/4.196, allocations: 412.1 kB / 3.375 GB, free: 98.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/4.196, allocations: 8 kB / 3.375 GB, free: 98.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/4.197, allocations: 27.91 kB / 3.375 GB, free: 98.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000387/4.197, allocations: 257.2 kB / 3.375 GB, free: 98.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/4.197, allocations: 335.1 kB / 3.376 GB, free: 97.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/4.197, allocations: 0 / 3.376 GB, free: 97.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/4.197, allocations: 4 kB / 3.376 GB, free: 97.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/4.197, allocations: 8 kB / 3.376 GB, free: 97.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/4.199, allocations: 1.625 MB / 3.377 GB, free: 96.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/4.199, allocations: 250.6 kB / 3.378 GB, free: 95.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/4.2, allocations: 124.8 kB / 3.378 GB, free: 95.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/4.2, allocations: 1.044 MB / 3.379 GB, free: 94.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/4.2, allocations: 30.56 kB / 3.379 GB, free: 94.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/4.2, allocations: 0 / 3.379 GB, free: 94.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.0009939/4.201, allocations: 325.4 kB / 3.379 GB, free: 94.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.438e-05/4.201, allocations: 51.41 kB / 3.379 GB, free: 94.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/4.202, allocations: 254.1 kB / 3.379 GB, free: 93.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/4.202, allocations: 29.7 kB / 3.379 GB, free: 93.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/4.202, allocations: 168.3 kB / 3.38 GB, free: 93.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/4.202, allocations: 90.66 kB / 3.38 GB, free: 93.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/4.202, allocations: 0 / 3.38 GB, free: 93.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/4.202, allocations: 346.7 kB / 3.38 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/4.202, allocations: 60.47 kB / 3.38 GB, free: 93.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/4.202, allocations: 106 kB / 3.38 GB, free: 93.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/4.202, allocations: 130.2 kB / 3.38 GB, free: 92.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/4.202, allocations: 0 / 3.38 GB, free: 92.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004757/4.203, allocations: 290.4 kB / 3.381 GB, free: 92.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/4.203, allocations: 8.031 kB / 3.381 GB, free: 92.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/4.203, allocations: 144 / 3.381 GB, free: 92.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/4.203, allocations: 4 kB / 3.381 GB, free: 92.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/4.203, allocations: 59.89 kB / 3.381 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/4.203, allocations: 0 / 3.381 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/4.203, allocations: 31.83 kB / 3.381 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/4.203, allocations: 12 kB / 3.381 GB, free: 92.49 MB / 0.948 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 5.968e-05/4.204, allocations: 101 kB / 3.381 GB, free: 92.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/4.204, allocations: 39.53 kB / 3.381 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/4.204, allocations: 302.5 kB / 3.381 GB, free: 92.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/4.204, allocations: 4 kB / 3.381 GB, free: 92.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/4.204, allocations: 4 kB / 3.381 GB, free: 92.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/4.204, allocations: 0 / 3.381 GB, free: 92.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/4.205, allocations: 0.7939 MB / 3.382 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/4.205, allocations: 0 / 3.382 GB, free: 91.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/4.205, allocations: 51.91 kB / 3.382 GB, free: 91.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/4.205, allocations: 4 kB / 3.382 GB, free: 91.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/4.205, allocations: 8 kB / 3.382 GB, free: 91.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/4.205, allocations: 8.234 kB / 3.382 GB, free: 91.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/4.206, allocations: 8 kB / 3.382 GB, free: 91.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006264/4.206, allocations: 0.6095 MB / 3.383 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/4.206, allocations: 128.6 kB / 3.383 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/4.206, allocations: 8 kB / 3.383 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/4.207, allocations: 27.88 kB / 3.383 GB, free: 90.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/4.207, allocations: 19.97 kB / 3.383 GB, free: 90.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/4.207, allocations: 15.94 kB / 3.383 GB, free: 90.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001394/4.207, allocations: 200.6 kB / 3.383 GB, free: 90 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000592/4.207, allocations: 207.6 kB / 3.383 GB, free: 89.79 MB / 0.948 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.001387/4.209, allocations: 1.377 MB / 3.384 GB, free: 88.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002606/4.209, allocations: 168.1 kB / 3.385 GB, free: 88.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/4.209, allocations: 0 / 3.385 GB, free: 88.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/4.209, allocations: 95.86 kB / 3.385 GB, free: 88.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/4.21, allocations: 159.1 kB / 3.385 GB, free: 87.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/4.211, allocations: 0.6615 MB / 3.386 GB, free: 87.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/4.211, allocations: 0.874 MB / 3.386 GB, free: 86.37 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/4.211, allocations: 3.938 kB / 3.386 GB, free: 86.36 MB / 0.948 GB Notification: Performance of Templates: time 0.01651/4.228, allocations: 12.67 MB / 3.399 GB, free: 73.79 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)