Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.405/1.405, allocations: 289.8 MB / 297.1 MB, free: 9.078 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.001046/0.001046, allocations: 189.2 kB / 366.3 MB, free: 11.32 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.087/1.087, allocations: 205.1 MB / 0.6256 GB, free: 11.44 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008157, allocations: 89.7 kB / 0.7396 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.051e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1653, allocations: 116.3 MB / 0.9726 GB, free: 31.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.6018, allocations: 137.9 MB / 1.107 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.602, allocations: 81.27 kB / 1.107 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.001812/0.6038, allocations: 0.5261 MB / 1.108 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.6038, allocations: 4 kB / 1.108 GB, free: 16.07 MB / 0.6823 GB 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.0001616/0.604, allocations: 321.5 kB / 1.108 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.604, allocations: 9 kB / 1.108 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.6041, allocations: 1.281 kB / 1.108 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.6042, allocations: 169.5 kB / 1.108 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.6042, allocations: 1.312 kB / 1.108 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.6042, allocations: 0 / 1.108 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.777e-05/0.6043, allocations: 5.25 kB / 1.108 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.318e-05/0.6043, allocations: 38.45 kB / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.6043, allocations: 0 / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.6043, allocations: 0 / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.6043, allocations: 1.312 kB / 1.108 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.099e-05/0.6044, allocations: 131.5 kB / 1.108 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.108e-05/0.6045, allocations: 23.08 kB / 1.108 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.6045, allocations: 7.422 kB / 1.108 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.6049, allocations: 0.6056 MB / 1.109 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.025e-05/0.605, allocations: 33.25 kB / 1.109 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.605, allocations: 0 / 1.109 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.6051, allocations: 34.97 kB / 1.109 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.497e-05/0.6051, allocations: 55.34 kB / 1.109 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.6052, allocations: 98 kB / 1.109 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.6052, allocations: 25.7 kB / 1.109 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.6052, allocations: 81.48 kB / 1.109 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.6052, allocations: 9.109 kB / 1.109 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.6052, allocations: 1.25 kB / 1.109 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.6053, allocations: 316.4 kB / 1.11 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.6053, allocations: 2.281 kB / 1.11 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.6053, allocations: 1.188 kB / 1.11 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.6053, allocations: 8.688 kB / 1.11 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6053, allocations: 3.906 kB / 1.11 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.13e-05/0.6054, allocations: 35.42 kB / 1.11 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.6054, allocations: 7.438 kB / 1.11 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6054, allocations: 0 / 1.11 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6054, allocations: 1.312 kB / 1.11 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.6055, allocations: 7.969 kB / 1.11 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.6055, allocations: 0 / 1.11 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.6055, allocations: 5.25 kB / 1.11 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.6055, allocations: 8.062 kB / 1.11 GB, free: 13.91 MB / 0.6823 GB 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 3.595e-05/0.6056, allocations: 111.9 kB / 1.11 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.6056, allocations: 1.344 kB / 1.11 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.6057, allocations: 44.72 kB / 1.11 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6057, allocations: 0 / 1.11 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6057, allocations: 1.344 kB / 1.11 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6057, allocations: 0 / 1.11 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.53e-05/0.6058, allocations: 131.7 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6058, allocations: 1.375 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.6058, allocations: 8.156 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6058, allocations: 1.406 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.6058, allocations: 1.312 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.6058, allocations: 0 / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6058, allocations: 0 / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.451e-05/0.6059, allocations: 68.75 kB / 1.11 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.6059, allocations: 78.61 kB / 1.11 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.6059, allocations: 2.734 kB / 1.11 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.606, allocations: 4.031 kB / 1.11 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.606, allocations: 5.359 kB / 1.11 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.606, allocations: 0 / 1.11 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.696e-05/0.606, allocations: 87.06 kB / 1.11 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001708/0.6062, allocations: 15.84 kB / 1.11 GB, free: 13.34 MB / 0.6823 GB 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.000127/0.6063, allocations: 111.8 kB / 1.11 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.333e-05/0.6064, allocations: 6.719 kB / 1.11 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6064, allocations: 4.062 kB / 1.11 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-06/0.6064, allocations: 7.812 kB / 1.11 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.6065, allocations: 3.891 kB / 1.11 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001364/0.6067, allocations: 59.7 kB / 1.11 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.607, allocations: 0.6866 MB / 1.111 GB, free: 28.48 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.607, allocations: 0 / 1.111 GB, free: 28.48 MB / 0.698 GB Notification: Performance of Templates: time 0.00206/0.609, allocations: 0.5814 MB / 1.112 GB, free: 28.41 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)