Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [: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/BuildSysPro 3.5.0/package.mo): time 0.6849/0.6849, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 185.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 89.53 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.436e-06, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1667, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.6293, allocations: 101.5 MB / 0.72 GB, free: 10.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.6296, allocations: 79.94 kB / 0.7201 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002162/0.6318, allocations: 0.5367 MB / 0.7206 GB, free: 10.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.6318, allocations: 4 kB / 0.7206 GB, free: 10.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002784/0.6321, allocations: 318.4 kB / 0.721 GB, free: 9.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6321, allocations: 8.031 kB / 0.721 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.6322, allocations: 4 kB / 0.721 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.6323, allocations: 170.9 kB / 0.7211 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6323, allocations: 0 / 0.7211 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.6324, allocations: 0 / 0.7211 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.051e-05/0.6324, allocations: 8 kB / 0.7211 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.421e-05/0.6325, allocations: 29.7 kB / 0.7212 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.6325, allocations: 4 kB / 0.7212 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.6325, allocations: 0 / 0.7212 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6325, allocations: 0 / 0.7212 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.6327, allocations: 130.2 kB / 0.7213 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.6328, allocations: 26.52 kB / 0.7213 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.6328, allocations: 12.86 kB / 0.7213 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/0.6335, allocations: 0.6013 MB / 0.7219 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6335, allocations: 34.56 kB / 0.7219 GB, free: 8.676 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.6336, allocations: 0 / 0.7219 GB, free: 8.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000181/0.6337, allocations: 34.36 kB / 0.722 GB, free: 8.637 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.6338, allocations: 55.41 kB / 0.722 GB, free: 8.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.6339, allocations: 93.02 kB / 0.7221 GB, free: 8.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.6339, allocations: 29.7 kB / 0.7221 GB, free: 8.438 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.6339, allocations: 80.14 kB / 0.7222 GB, free: 8.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.634, allocations: 11.84 kB / 0.7222 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.634, allocations: 2.188 kB / 0.7222 GB, free: 8.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.6341, allocations: 310.8 kB / 0.7225 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.6341, allocations: 4 kB / 0.7225 GB, free: 8.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.6341, allocations: 0 / 0.7225 GB, free: 8.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.6342, allocations: 12 kB / 0.7226 GB, free: 8.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6342, allocations: 0 / 0.7226 GB, free: 8.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.905e-05/0.6343, allocations: 45.59 kB / 0.7226 GB, free: 7.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6343, allocations: 4 kB / 0.7226 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6343, allocations: 0.75 kB / 0.7226 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6343, allocations: 4.562 kB / 0.7226 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.6344, allocations: 0 / 0.7226 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.6344, allocations: 0 / 0.7226 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.6344, allocations: 4 kB / 0.7226 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.6344, allocations: 1.938 kB / 0.7226 GB, free: 7.953 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.621e-05/0.6345, allocations: 105 kB / 0.7227 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.6345, allocations: 4.094 kB / 0.7227 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.6347, allocations: 56.86 kB / 0.7228 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6347, allocations: 0 / 0.7228 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6347, allocations: 0 / 0.7228 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6347, allocations: 0 / 0.7228 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.6348, allocations: 146.1 kB / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6348, allocations: 0 / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.6348, allocations: 0 / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6348, allocations: 8.031 kB / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.6348, allocations: 0 / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6349, allocations: 0 / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6349, allocations: 0 / 0.7229 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.206e-05/0.635, allocations: 65.03 kB / 0.723 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.635, allocations: 81.11 kB / 0.7231 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.635, allocations: 4 kB / 0.7231 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.6351, allocations: 4.031 kB / 0.7231 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.6351, allocations: 3.984 kB / 0.7231 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.6351, allocations: 0 / 0.7231 GB, free: 7.402 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.739e-05/0.6351, allocations: 83.22 kB / 0.7231 GB, free: 7.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.6353, allocations: 16 kB / 0.7232 GB, free: 7.305 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001889/0.6355, allocations: 115.2 kB / 0.7233 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.6356, allocations: 12 kB / 0.7233 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6356, allocations: 0 / 0.7233 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.6356, allocations: 8.062 kB / 0.7233 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.6358, allocations: 4.453 kB / 0.7233 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.636, allocations: 56 kB / 0.7233 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.6363, allocations: 0.688 MB / 0.724 GB, free: 6.367 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6363, allocations: 0 / 0.724 GB, free: 6.367 MB / 490.7 MB Notification: Performance of Templates: time 0.002617/0.6389, allocations: 0.5884 MB / 0.7246 GB, free: 5.785 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)