Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.842/0.842, allocations: 141.8 MB / 149.1 MB, free: 4.488 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 181.4 kB / 181.9 MB, free: 156 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.4 MB / 436 MB, free: 9.352 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 98.91 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.00189, allocations: 279.6 kB / 0.5884 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.173e-05, allocations: 4 kB / 0.6759 GB, free: 2.676 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.5172, allocations: 107.1 MB / 0.8614 GB, free: 5.613 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.5175, allocations: 74.67 kB / 0.8614 GB, free: 5.547 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.001962/0.5194, allocations: 0.6344 MB / 0.8621 GB, free: 4.918 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5195, allocations: 0 / 0.8621 GB, free: 4.918 MB / 0.5263 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.0002157/0.5197, allocations: 315.6 kB / 0.8624 GB, free: 4.566 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5198, allocations: 12.75 kB / 0.8624 GB, free: 4.555 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.5198, allocations: 0 / 0.8624 GB, free: 4.555 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.5199, allocations: 163.6 kB / 0.8625 GB, free: 4.355 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5199, allocations: 0 / 0.8625 GB, free: 4.355 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.52, allocations: 4.438 kB / 0.8625 GB, free: 4.352 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.552e-05/0.5201, allocations: 9.422 kB / 0.8625 GB, free: 4.344 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.875e-05/0.5201, allocations: 29.7 kB / 0.8626 GB, free: 4.309 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5201, allocations: 0 / 0.8626 GB, free: 4.309 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5202, allocations: 4 kB / 0.8626 GB, free: 4.305 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5202, allocations: 0.625 kB / 0.8626 GB, free: 4.305 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.5203, allocations: 135.5 kB / 0.8627 GB, free: 4.137 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.5203, allocations: 27.2 kB / 0.8627 GB, free: 4.102 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.5204, allocations: 12.92 kB / 0.8627 GB, free: 4.086 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.5207, allocations: 407.7 kB / 0.8631 GB, free: 3.598 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.5207, allocations: 35.16 kB / 0.8632 GB, free: 3.555 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5207, allocations: 4 kB / 0.8632 GB, free: 3.551 MB / 0.5263 GB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.5208, allocations: 46.27 kB / 0.8632 GB, free: 3.5 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.5209, allocations: 52.44 kB / 0.8633 GB, free: 3.438 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.558e-05/0.5209, allocations: 85 kB / 0.8633 GB, free: 3.348 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.5209, allocations: 25.7 kB / 0.8634 GB, free: 3.316 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.5209, allocations: 84.67 kB / 0.8634 GB, free: 3.23 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.521, allocations: 5.031 kB / 0.8634 GB, free: 3.227 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.521, allocations: 3.938 kB / 0.8635 GB, free: 3.223 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.521, allocations: 315.4 kB / 0.8638 GB, free: 2.906 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.521, allocations: 8.578 kB / 0.8638 GB, free: 2.898 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.521, allocations: 5.5 kB / 0.8638 GB, free: 2.895 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.5211, allocations: 4.844 kB / 0.8638 GB, free: 2.891 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5211, allocations: 3.906 kB / 0.8638 GB, free: 2.887 MB / 0.5263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.584e-05/0.5212, allocations: 42.28 kB / 0.8638 GB, free: 2.84 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5212, allocations: 4.562 kB / 0.8638 GB, free: 2.836 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5212, allocations: 0 / 0.8638 GB, free: 2.836 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5212, allocations: 5.438 kB / 0.8638 GB, free: 2.832 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5213, allocations: 8 kB / 0.8638 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002556/0.5216, allocations: 0.5908 MB / 0.8644 GB, free: 2.211 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.5216, allocations: 4.75 kB / 0.8644 GB, free: 2.207 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.5216, allocations: 0.5312 kB / 0.8644 GB, free: 2.207 MB / 0.5263 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 (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 4.512e-05/0.5217, allocations: 102 kB / 0.8645 GB, free: 2.102 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.5217, allocations: 0 / 0.8645 GB, free: 2.102 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.5218, allocations: 54.22 kB / 0.8646 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5218, allocations: 0 / 0.8646 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5219, allocations: 0.7188 kB / 0.8646 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5219, allocations: 1.594 kB / 0.8646 GB, free: 2.039 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.979e-05/0.5219, allocations: 134.7 kB / 0.8647 GB, free: 1.871 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5219, allocations: 0.5625 kB / 0.8647 GB, free: 1.871 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.522, allocations: 8.719 kB / 0.8647 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.522, allocations: 0 / 0.8647 GB, free: 1.863 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.522, allocations: 4.672 kB / 0.8647 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001895/0.5222, allocations: 0.5952 MB / 0.8653 GB, free: 1.242 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5222, allocations: 0.5625 kB / 0.8653 GB, free: 1.242 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.718e-05/0.5223, allocations: 70.34 kB / 0.8654 GB, free: 1.156 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.5223, allocations: 77.11 kB / 0.8654 GB, free: 1.062 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.5224, allocations: 1.188 kB / 0.8654 GB, free: 1.062 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.5224, allocations: 0 / 0.8654 GB, free: 1.062 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.5224, allocations: 4.562 kB / 0.8654 GB, free: 1.059 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5224, allocations: 3.984 kB / 0.8654 GB, free: 1.055 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.207e-05/0.5224, allocations: 75.78 kB / 0.8655 GB, free: 0.9805 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002013/0.5226, allocations: 8.531 kB / 0.8655 GB, free: 0.9727 MB / 0.5263 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 (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.0001442/0.5228, allocations: 108.9 kB / 0.8656 GB, free: 0.8555 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.523, allocations: 25.48 kB / 0.8656 GB, free: 0.832 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.523, allocations: 0.5312 kB / 0.8656 GB, free: 0.832 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.5231, allocations: 13.22 kB / 0.8657 GB, free: 0.8203 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.335e-05/0.5232, allocations: 7.891 kB / 0.8657 GB, free: 0.8125 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.5233, allocations: 52.61 kB / 0.8657 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5234, allocations: 0.6842 MB / 0.8664 GB, free: 32 kB / 0.5263 GB Notification: Performance of SimCode: time 2.8e-07/0.5235, allocations: 0.7188 kB / 0.8664 GB, free: 32 kB / 0.5263 GB Notification: Performance of Templates: time 0.002319/0.5258, allocations: 0.5361 MB / 0.8669 GB, free: 15.53 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)