Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7391/0.7391, allocations: 141.8 MB / 149.1 MB, free: 7.445 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 174.1 kB / 181.9 MB, free: 4.793 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.4 MB / 436 MB, free: 12.58 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.17 kB / 0.507 GB, free: 6.027 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 279.1 kB / 0.5884 GB, free: 2.832 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.039e-05, allocations: 2.344 kB / 0.6759 GB, free: 164.5 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2092, allocations: 82.79 MB / 0.7567 GB, free: 110 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.3592, allocations: 107.8 MB / 0.862 GB, free: 2.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.3596, allocations: 71.95 kB / 0.8621 GB, free: 2.02 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.002213/0.3618, allocations: 487.3 kB / 0.8625 GB, free: 1.547 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3619, allocations: 0 / 0.8625 GB, free: 1.547 MB / 0.5419 GB 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.0003023/0.3622, allocations: 334.5 kB / 0.8629 GB, free: 1.176 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3622, allocations: 9.031 kB / 0.8629 GB, free: 1.168 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.3623, allocations: 15.91 kB / 0.8629 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.3624, allocations: 174.9 kB / 0.8631 GB, free: 0.9414 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3624, allocations: 7.938 kB / 0.8631 GB, free: 0.9336 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3624, allocations: 0 / 0.8631 GB, free: 0.9336 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.434e-05/0.3625, allocations: 8 kB / 0.8631 GB, free: 0.9258 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.587e-05/0.3626, allocations: 37.61 kB / 0.8631 GB, free: 0.8828 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3626, allocations: 0 / 0.8631 GB, free: 0.8828 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3626, allocations: 3.938 kB / 0.8631 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3627, allocations: 3.984 kB / 0.8631 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.3631, allocations: 245.5 kB / 0.8633 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.596e-05/0.3632, allocations: 30.52 kB / 0.8634 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.3632, allocations: 16.83 kB / 0.8634 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.3635, allocations: 409.5 kB / 0.8638 GB, free: 48 kB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3636, allocations: 38.56 kB / 0.8638 GB, free: 0 / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3636, allocations: 0 / 0.8638 GB, free: 0 / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.3638, allocations: 37.75 kB / 0.8639 GB, free: 15.95 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3639, allocations: 59.38 kB / 0.8639 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.364, allocations: 93 kB / 0.864 GB, free: 15.79 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.364, allocations: 25.7 kB / 0.864 GB, free: 15.76 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.3641, allocations: 84.14 kB / 0.8641 GB, free: 15.67 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3641, allocations: 7.891 kB / 0.8641 GB, free: 15.66 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.3641, allocations: 0 / 0.8641 GB, free: 15.66 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3642, allocations: 314.8 kB / 0.8644 GB, free: 15.35 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.3643, allocations: 7.938 kB / 0.8644 GB, free: 15.34 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.3643, allocations: 8 kB / 0.8644 GB, free: 15.33 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.3644, allocations: 8 kB / 0.8644 GB, free: 15.32 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3644, allocations: 3.906 kB / 0.8644 GB, free: 15.32 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.3645, allocations: 45.69 kB / 0.8645 GB, free: 15.27 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3645, allocations: 6.969 kB / 0.8645 GB, free: 15.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3645, allocations: 0 / 0.8645 GB, free: 15.27 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3646, allocations: 0 / 0.8645 GB, free: 15.27 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3647, allocations: 16.09 kB / 0.8645 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3647, allocations: 0 / 0.8645 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.3647, allocations: 7.984 kB / 0.8645 GB, free: 15.24 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3648, allocations: 4 kB / 0.8645 GB, free: 15.24 MB / 0.5575 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 7.158e-05/0.3648, allocations: 104.9 kB / 0.8646 GB, free: 15.13 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.992e-05/0.3649, allocations: 0 / 0.8646 GB, free: 15.13 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.365, allocations: 58.19 kB / 0.8647 GB, free: 15.07 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3651, allocations: 3.938 kB / 0.8647 GB, free: 15.06 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3651, allocations: 3.906 kB / 0.8647 GB, free: 15.06 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3651, allocations: 3.984 kB / 0.8647 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3652, allocations: 138.2 kB / 0.8648 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3652, allocations: 4 kB / 0.8648 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.3653, allocations: 11.98 kB / 0.8648 GB, free: 14.87 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3653, allocations: 4.031 kB / 0.8648 GB, free: 14.86 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3653, allocations: 256 / 0.8648 GB, free: 14.86 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3654, allocations: 4 kB / 0.8648 GB, free: 14.86 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3654, allocations: 0 / 0.8648 GB, free: 14.86 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001544/0.3655, allocations: 143.5 kB / 0.865 GB, free: 14.7 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3656, allocations: 88.95 kB / 0.8651 GB, free: 14.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3656, allocations: 3.938 kB / 0.8651 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.3657, allocations: 8.031 kB / 0.8651 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3658, allocations: 7.984 kB / 0.8651 GB, free: 14.58 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3658, allocations: 0 / 0.8651 GB, free: 14.58 MB / 0.5575 GB Notification: Performance of sort global known variables: time 3.925e-05/0.3658, allocations: 83.28 kB / 0.8652 GB, free: 14.5 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002983/0.3661, allocations: 11.94 kB / 0.8652 GB, free: 14.48 MB / 0.5575 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.0002165/0.3663, allocations: 95.25 kB / 0.8653 GB, free: 14.38 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.3664, allocations: 19.98 kB / 0.8653 GB, free: 14.36 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3664, allocations: 0 / 0.8653 GB, free: 14.36 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.3665, allocations: 8 kB / 0.8653 GB, free: 14.36 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.3666, allocations: 0 / 0.8653 GB, free: 14.36 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.3669, allocations: 63.86 kB / 0.8653 GB, free: 14.27 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.3673, allocations: 0.688 MB / 0.866 GB, free: 13.55 MB / 0.5575 GB Notification: Performance of SimCode: time 2.51e-07/0.3673, allocations: 0 / 0.866 GB, free: 13.55 MB / 0.5575 GB Notification: Performance of Templates: time 0.002756/0.37, allocations: 0.5614 MB / 0.8666 GB, free: 13 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)