Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.6864/0.6864, allocations: 127.4 MB / 134.6 MB, free: 4.137 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.001146/0.001146, allocations: 185.3 kB / 164.4 MB, free: 6.91 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.936/1.936, allocations: 205.1 MB / 399.1 MB, free: 6.113 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.001286/0.001286, allocations: 91.33 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.007e-05/1.01e-05, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.6078, allocations: 101.1 MB / 0.7196 GB, free: 11.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.6081, allocations: 75.94 kB / 0.7197 GB, free: 11.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002529/0.6106, allocations: 0.6796 MB / 0.7204 GB, free: 10.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.6106, allocations: 3.938 kB / 0.7204 GB, free: 10.64 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.000269/0.6109, allocations: 318.4 kB / 0.7207 GB, free: 10.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.611, allocations: 12.03 kB / 0.7207 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.611, allocations: 4 kB / 0.7207 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.6111, allocations: 159.1 kB / 0.7208 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6112, allocations: 0.5625 kB / 0.7208 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.6112, allocations: 3.984 kB / 0.7208 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.883e-05/0.6113, allocations: 11.91 kB / 0.7209 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.165e-05/0.6113, allocations: 29.64 kB / 0.7209 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6113, allocations: 4 kB / 0.7209 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.6114, allocations: 0 / 0.7209 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6114, allocations: 4 kB / 0.7209 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.6115, allocations: 132.3 kB / 0.721 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.6116, allocations: 30.62 kB / 0.721 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.6116, allocations: 8.859 kB / 0.7211 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.612, allocations: 409.6 kB / 0.7214 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6121, allocations: 38.56 kB / 0.7215 GB, free: 9.262 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.6121, allocations: 0 / 0.7215 GB, free: 9.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002243/0.6123, allocations: 49.53 kB / 0.7215 GB, free: 9.207 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.6123, allocations: 51.41 kB / 0.7216 GB, free: 9.145 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.431e-05/0.6124, allocations: 85 kB / 0.7217 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6124, allocations: 25.7 kB / 0.7217 GB, free: 9.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.6124, allocations: 80.14 kB / 0.7218 GB, free: 8.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.6125, allocations: 7.906 kB / 0.7218 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.6125, allocations: 4 kB / 0.7218 GB, free: 8.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.6126, allocations: 314.8 kB / 0.7221 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.6126, allocations: 4 kB / 0.7221 GB, free: 8.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.6126, allocations: 4 kB / 0.7221 GB, free: 8.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.6127, allocations: 4 kB / 0.7221 GB, free: 8.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6127, allocations: 3.938 kB / 0.7221 GB, free: 8.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.6128, allocations: 45.59 kB / 0.7221 GB, free: 8.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6128, allocations: 4 kB / 0.7221 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6128, allocations: 4 kB / 0.7221 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6129, allocations: 4 kB / 0.7221 GB, free: 8.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.613, allocations: 15.92 kB / 0.7222 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004499/0.6135, allocations: 0.586 MB / 0.7227 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.6135, allocations: 0 / 0.7227 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.6135, allocations: 0 / 0.7227 GB, free: 7.91 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.6136, allocations: 101.1 kB / 0.7228 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6136, allocations: 8 kB / 0.7228 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.6138, allocations: 45.22 kB / 0.7229 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6138, allocations: 3.906 kB / 0.7229 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6138, allocations: 7.875 kB / 0.7229 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6138, allocations: 3.984 kB / 0.7229 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.493e-05/0.6139, allocations: 126.2 kB / 0.723 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6139, allocations: 0 / 0.723 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.614, allocations: 15.98 kB / 0.723 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.614, allocations: 0 / 0.723 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.614, allocations: 4 kB / 0.723 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003303/0.6144, allocations: 0.5883 MB / 0.7236 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6144, allocations: 0 / 0.7236 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.933e-05/0.6145, allocations: 73.23 kB / 0.7237 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.6145, allocations: 81.2 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.6146, allocations: 0 / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.6146, allocations: 48 / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.6146, allocations: 11.97 kB / 0.7238 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.6146, allocations: 0 / 0.7238 GB, free: 6.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.768e-05/0.6147, allocations: 75.28 kB / 0.7238 GB, free: 6.668 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.6149, allocations: 11.94 kB / 0.7239 GB, free: 6.656 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/0.6151, allocations: 99.25 kB / 0.7239 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.6152, allocations: 27.98 kB / 0.724 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6152, allocations: 0 / 0.724 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.6153, allocations: 19.92 kB / 0.724 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.6155, allocations: 8.203 kB / 0.724 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.6157, allocations: 52.02 kB / 0.724 GB, free: 6.426 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.6159, allocations: 0.6837 MB / 0.7247 GB, free: 5.719 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.616, allocations: 0 / 0.7247 GB, free: 5.719 MB / 490.7 MB Notification: Performance of Templates: time 0.002476/0.6184, allocations: 0.5402 MB / 0.7252 GB, free: 5.18 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)