Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") [: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.7347/0.7347, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.0014/0.0014, allocations: 181.3 kB / 164.4 MB, free: 6.883 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.786/1.786, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001148/0.001148, allocations: 98.61 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.044e-05/1.057e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1784, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.6154, allocations: 101.7 MB / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6157, allocations: 79.94 kB / 0.7203 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002093/0.6178, allocations: 489 kB / 0.7208 GB, free: 10.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.6178, allocations: 0 / 0.7208 GB, free: 10.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003459/0.6182, allocations: 350.3 kB / 0.7211 GB, free: 9.711 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6182, allocations: 8.031 kB / 0.7211 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.6183, allocations: 3.906 kB / 0.7211 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6184, allocations: 163.1 kB / 0.7213 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6184, allocations: 0 / 0.7213 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.6184, allocations: 0 / 0.7213 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.852e-05/0.6185, allocations: 19.98 kB / 0.7213 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.6186, allocations: 37.69 kB / 0.7213 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.6186, allocations: 3.938 kB / 0.7214 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6186, allocations: 3.906 kB / 0.7214 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6186, allocations: 4 kB / 0.7214 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.619, allocations: 249.5 kB / 0.7216 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.6191, allocations: 26.58 kB / 0.7216 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.6191, allocations: 12.92 kB / 0.7216 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.6196, allocations: 414.1 kB / 0.722 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6196, allocations: 34.47 kB / 0.7221 GB, free: 8.555 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.6196, allocations: 0 / 0.7221 GB, free: 8.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.6198, allocations: 45.64 kB / 0.7221 GB, free: 8.504 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.6198, allocations: 51.41 kB / 0.7222 GB, free: 8.441 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.6199, allocations: 99.28 kB / 0.7222 GB, free: 8.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.6199, allocations: 25.7 kB / 0.7223 GB, free: 8.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.62, allocations: 88.17 kB / 0.7224 GB, free: 8.219 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.62, allocations: 7.844 kB / 0.7224 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.62, allocations: 0 / 0.7224 GB, free: 8.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.6201, allocations: 314.8 kB / 0.7227 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.6201, allocations: 4 kB / 0.7227 GB, free: 7.891 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.6202, allocations: 8 kB / 0.7227 GB, free: 7.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.6202, allocations: 4 kB / 0.7227 GB, free: 7.879 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6202, allocations: 0 / 0.7227 GB, free: 7.879 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.6203, allocations: 49.66 kB / 0.7227 GB, free: 7.824 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6204, allocations: 8 kB / 0.7227 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6204, allocations: 0 / 0.7227 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.6204, allocations: 0 / 0.7227 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6205, allocations: 15.92 kB / 0.7228 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.6205, allocations: 0 / 0.7228 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.6206, allocations: 12.03 kB / 0.7228 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6206, allocations: 0 / 0.7228 GB, free: 7.789 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 6.755e-05/0.6207, allocations: 108.9 kB / 0.7229 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.6207, allocations: 4 kB / 0.7229 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.6208, allocations: 54.19 kB / 0.7229 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.6208, allocations: 3.938 kB / 0.7229 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6209, allocations: 0 / 0.7229 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6209, allocations: 11.88 kB / 0.7229 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.621, allocations: 134.2 kB / 0.7231 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.621, allocations: 0 / 0.7231 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.6211, allocations: 15.23 kB / 0.7231 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6211, allocations: 4 kB / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.6211, allocations: 0 / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6211, allocations: 0 / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6211, allocations: 3.938 kB / 0.7231 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001268/0.6213, allocations: 144.1 kB / 0.7232 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.6213, allocations: 77.11 kB / 0.7233 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6213, allocations: 3.906 kB / 0.7233 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.6214, allocations: 11.98 kB / 0.7233 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.6215, allocations: 32 / 0.7233 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.6215, allocations: 8 kB / 0.7233 GB, free: 7.141 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.632e-05/0.6215, allocations: 83.28 kB / 0.7234 GB, free: 7.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.6217, allocations: 4 kB / 0.7234 GB, free: 7.055 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.0001571/0.6219, allocations: 103.2 kB / 0.7235 GB, free: 6.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.622, allocations: 12 kB / 0.7235 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.622, allocations: 3.938 kB / 0.7235 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.622, allocations: 8 kB / 0.7235 GB, free: 6.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.6222, allocations: 8.125 kB / 0.7235 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.6224, allocations: 55.92 kB / 0.7236 GB, free: 6.832 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.6226, allocations: 0.6919 MB / 0.7243 GB, free: 6.113 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6226, allocations: 0 / 0.7243 GB, free: 6.113 MB / 490.7 MB Notification: Performance of Templates: time 0.002418/0.6251, allocations: 0.5715 MB / 0.7248 GB, free: 5.551 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)