Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/BuildingSystems 2.0.0-master/package.mo): time 0.7425/0.7425, allocations: 141.8 MB / 149.1 MB, free: 12.55 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.001189/0.001189, allocations: 183.3 kB / 181.9 MB, free: 9.238 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.333/1.333, allocations: 221.3 MB / 436 MB, free: 1.613 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.0009467/0.0009468, allocations: 90.38 kB / 0.507 GB, free: 10.39 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 268.9 kB / 0.5884 GB, free: 7.227 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.277e-06, allocations: 4 kB / 0.6759 GB, free: 13.57 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4172, allocations: 82.76 MB / 0.7567 GB, free: 138.4 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.5355, allocations: 107.7 MB / 0.8619 GB, free: 30.52 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.5357, allocations: 83.7 kB / 0.862 GB, free: 30.45 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.009989/0.5457, allocations: 3.677 MB / 0.8656 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5458, allocations: 0 / 0.8656 GB, free: 26.79 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002481/0.546, allocations: 335.9 kB / 0.8659 GB, free: 26.41 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5461, allocations: 16.02 kB / 0.8659 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.5462, allocations: 0 / 0.8659 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/0.5462, allocations: 160.4 kB / 0.8661 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5463, allocations: 0 / 0.8661 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.5463, allocations: 3.906 kB / 0.8661 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.997e-05/0.5463, allocations: 0 / 0.8661 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/0.5464, allocations: 35.02 kB / 0.8661 GB, free: 26.16 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5464, allocations: 0 / 0.8661 GB, free: 26.16 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.5464, allocations: 7.922 kB / 0.8661 GB, free: 26.15 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5464, allocations: 0.5625 kB / 0.8661 GB, free: 26.15 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.774e-05/0.5465, allocations: 127.5 kB / 0.8663 GB, free: 25.99 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 3e-05/0.5466, allocations: 19.17 kB / 0.8663 GB, free: 25.96 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.5466, allocations: 5.578 kB / 0.8663 GB, free: 25.96 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004144/0.547, allocations: 423 kB / 0.8667 GB, free: 25.45 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.547, allocations: 35.62 kB / 0.8667 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.5471, allocations: 0.6562 kB / 0.8667 GB, free: 25.41 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.5472, allocations: 34.27 kB / 0.8668 GB, free: 25.37 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.5473, allocations: 51.41 kB / 0.8668 GB, free: 25.31 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.808e-05/0.5473, allocations: 89.44 kB / 0.8669 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.5473, allocations: 26.58 kB / 0.8669 GB, free: 25.18 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.235e-05/0.5473, allocations: 80.14 kB / 0.867 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5473, allocations: 0.6562 kB / 0.867 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.5474, allocations: 0.6562 kB / 0.867 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.5474, allocations: 319.6 kB / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-06/0.5474, allocations: 0 / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.5474, allocations: 1.219 kB / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.5475, allocations: 0 / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5475, allocations: 4 kB / 0.8673 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.569e-05/0.5476, allocations: 38.19 kB / 0.8673 GB, free: 24.73 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5476, allocations: 8.031 kB / 0.8674 GB, free: 24.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5476, allocations: 3.938 kB / 0.8674 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5476, allocations: 0 / 0.8674 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.5477, allocations: 4 kB / 0.8674 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5477, allocations: 0 / 0.8674 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.5477, allocations: 0 / 0.8674 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.5477, allocations: 3.938 kB / 0.8674 GB, free: 24.71 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 (1): * Single equations (assignments): 1 * 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 4.654e-05/0.5477, allocations: 101 kB / 0.8675 GB, free: 24.61 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.5478, allocations: 7.906 kB / 0.8675 GB, free: 24.6 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.5479, allocations: 47.14 kB / 0.8675 GB, free: 24.55 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5479, allocations: 0 / 0.8675 GB, free: 24.55 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5479, allocations: 0 / 0.8675 GB, free: 24.55 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5479, allocations: 0 / 0.8675 GB, free: 24.55 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.781e-05/0.5479, allocations: 134.2 kB / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.548, allocations: 3.984 kB / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.548, allocations: 0 / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.548, allocations: 0 / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.548, allocations: 7.938 kB / 0.8677 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.548, allocations: 0 / 0.8677 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.548, allocations: 4 kB / 0.8677 GB, free: 24.37 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.361e-05/0.5481, allocations: 53.08 kB / 0.8677 GB, free: 24.3 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.5481, allocations: 81.09 kB / 0.8678 GB, free: 24.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.5481, allocations: 0 / 0.8678 GB, free: 24.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.5481, allocations: 3.906 kB / 0.8678 GB, free: 24.2 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.5482, allocations: 4 kB / 0.8678 GB, free: 24.19 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5482, allocations: 4.031 kB / 0.8678 GB, free: 24.19 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.632e-05/0.5482, allocations: 75.28 kB / 0.8679 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002062/0.5484, allocations: 11.94 kB / 0.8679 GB, free: 24.1 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 (1): * Single equations (assignments): 1 * 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.000171/0.5486, allocations: 115.2 kB / 0.868 GB, free: 23.98 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 5.844e-05/0.5486, allocations: 8 kB / 0.868 GB, free: 23.97 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5486, allocations: 0 / 0.868 GB, free: 23.97 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.5487, allocations: 0 / 0.868 GB, free: 23.97 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.5488, allocations: 9.766 kB / 0.868 GB, free: 23.96 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001486/0.5489, allocations: 40.02 kB / 0.868 GB, free: 23.9 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5491, allocations: 0.6841 MB / 0.8687 GB, free: 23.19 MB / 0.5575 GB Notification: Performance of SimCode: time 2.1e-07/0.5491, allocations: 0 / 0.8687 GB, free: 23.19 MB / 0.5575 GB Notification: Performance of Templates: time 0.002221/0.5513, allocations: 449.1 kB / 0.8691 GB, free: 22.75 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)