Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") [: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.688/0.688, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001217/0.001217, allocations: 181.3 kB / 164.4 MB, free: 6.93 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.842/1.842, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001051/0.001051, allocations: 83.33 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.466e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 76.76 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.6421, allocations: 102.4 MB / 0.721 GB, free: 9.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6425, allocations: 71.95 kB / 0.721 GB, free: 9.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01334/0.6558, allocations: 4.265 MB / 0.7252 GB, free: 5.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.6559, allocations: 4 kB / 0.7252 GB, free: 5.629 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.0004121/0.6563, allocations: 370.3 kB / 0.7256 GB, free: 5.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6563, allocations: 8.031 kB / 0.7256 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.6564, allocations: 7.906 kB / 0.7256 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.6566, allocations: 159.1 kB / 0.7257 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.6566, allocations: 0 / 0.7257 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.6567, allocations: 4 kB / 0.7257 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.899e-05/0.6567, allocations: 12 kB / 0.7257 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.6568, allocations: 41.62 kB / 0.7258 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.6568, allocations: 4 kB / 0.7258 GB, free: 4.945 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6569, allocations: 3.906 kB / 0.7258 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6569, allocations: 0 / 0.7258 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.6573, allocations: 245.5 kB / 0.726 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/0.6573, allocations: 26.58 kB / 0.726 GB, free: 4.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.6574, allocations: 12.92 kB / 0.7261 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/0.658, allocations: 461.5 kB / 0.7265 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.658, allocations: 38.47 kB / 0.7265 GB, free: 4.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.6581, allocations: 0 / 0.7265 GB, free: 4.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.6583, allocations: 45.58 kB / 0.7266 GB, free: 3.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6583, allocations: 51.41 kB / 0.7266 GB, free: 3.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.6584, allocations: 97 kB / 0.7267 GB, free: 3.809 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6584, allocations: 25.7 kB / 0.7267 GB, free: 3.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.6585, allocations: 84.16 kB / 0.7268 GB, free: 3.691 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.6585, allocations: 7.906 kB / 0.7268 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.6585, allocations: 4.75 kB / 0.7268 GB, free: 3.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6586, allocations: 314.8 kB / 0.7271 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.6586, allocations: 4 kB / 0.7271 GB, free: 3.359 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.6587, allocations: 4 kB / 0.7271 GB, free: 3.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.6587, allocations: 4 kB / 0.7271 GB, free: 3.352 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6587, allocations: 0 / 0.7271 GB, free: 3.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.6588, allocations: 49.59 kB / 0.7272 GB, free: 3.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6588, allocations: 8.094 kB / 0.7272 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6589, allocations: 3.938 kB / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6589, allocations: 7.922 kB / 0.7272 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.659, allocations: 15.98 kB / 0.7272 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.659, allocations: 0 / 0.7272 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.6591, allocations: 12 kB / 0.7272 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.6591, allocations: 256 / 0.7272 GB, free: 3.25 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.197e-05/0.6591, allocations: 104.9 kB / 0.7273 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.6592, allocations: 7.984 kB / 0.7273 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6593, allocations: 49.31 kB / 0.7274 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6593, allocations: 0 / 0.7274 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6593, allocations: 4 kB / 0.7274 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6594, allocations: 7.906 kB / 0.7274 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.6595, allocations: 138.3 kB / 0.7275 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6595, allocations: 0 / 0.7275 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.6596, allocations: 11.98 kB / 0.7275 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6596, allocations: 0 / 0.7275 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.6596, allocations: 0 / 0.7275 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6596, allocations: 7.938 kB / 0.7276 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6596, allocations: 0 / 0.7276 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.6598, allocations: 143.5 kB / 0.7277 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.6598, allocations: 81.05 kB / 0.7278 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.6598, allocations: 3.906 kB / 0.7278 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.6599, allocations: 15.92 kB / 0.7278 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.66, allocations: 0 / 0.7278 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.66, allocations: 0 / 0.7278 GB, free: 2.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.577e-05/0.66, allocations: 87.31 kB / 0.7279 GB, free: 2.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00022/0.6602, allocations: 16 kB / 0.7279 GB, free: 2.504 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.0001768/0.6604, allocations: 119.2 kB / 0.728 GB, free: 2.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.6605, allocations: 15.94 kB / 0.728 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6605, allocations: 0 / 0.728 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.6605, allocations: 8 kB / 0.728 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.6607, allocations: 7.938 kB / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.6609, allocations: 60.62 kB / 0.7281 GB, free: 2.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.6612, allocations: 0.6919 MB / 0.7288 GB, free: 1.543 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6612, allocations: 0 / 0.7288 GB, free: 1.543 MB / 490.7 MB Notification: Performance of Templates: time 0.002699/0.6639, allocations: 0.6685 MB / 0.7294 GB, free: 0.8828 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)