Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5373/0.5373, allocations: 94.73 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001136/0.001136, allocations: 170.4 kB / 125.3 MB, free: 11.97 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.322/1.322, allocations: 170.5 MB / 319 MB, free: 9.402 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001622/0.001622, allocations: 112.5 kB / 381 MB, free: 18.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.935e-06, allocations: 224 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.5188, allocations: 92.75 MB / 0.5887 GB, free: 9.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5191, allocations: 75.94 kB / 0.5888 GB, free: 9.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.009823/0.5289, allocations: 3.138 MB / 0.5919 GB, free: 6.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.529, allocations: 0 / 0.5919 GB, free: 6.469 MB / 410.7 MB 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.0003414/0.5293, allocations: 350.3 kB / 0.5922 GB, free: 6.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5294, allocations: 16.95 kB / 0.5922 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.5295, allocations: 0 / 0.5922 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.5296, allocations: 160.3 kB / 0.5924 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5296, allocations: 0.5 kB / 0.5924 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.5296, allocations: 1.594 kB / 0.5924 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.209e-05/0.5297, allocations: 5.562 kB / 0.5924 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.162e-05/0.5298, allocations: 25.7 kB / 0.5924 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5298, allocations: 0 / 0.5924 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5298, allocations: 0.8438 kB / 0.5924 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.5298, allocations: 0 / 0.5924 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.53, allocations: 134.6 kB / 0.5925 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.5301, allocations: 18.52 kB / 0.5925 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.5301, allocations: 8.016 kB / 0.5925 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.5306, allocations: 426.5 kB / 0.5929 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5307, allocations: 31.59 kB / 0.593 GB, free: 5.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5307, allocations: 0 / 0.593 GB, free: 5.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002199/0.5309, allocations: 34.36 kB / 0.593 GB, free: 5.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.531, allocations: 52.06 kB / 0.5931 GB, free: 4.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.508e-05/0.531, allocations: 86.16 kB / 0.5931 GB, free: 4.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.531, allocations: 25.7 kB / 0.5932 GB, free: 4.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.5311, allocations: 89.14 kB / 0.5933 GB, free: 4.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.5311, allocations: 0 / 0.5933 GB, free: 4.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.5311, allocations: 0 / 0.5933 GB, free: 4.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5313, allocations: 311.4 kB / 0.5936 GB, free: 4.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-06/0.5313, allocations: 1.781 kB / 0.5936 GB, free: 4.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.5313, allocations: 0.5625 kB / 0.5936 GB, free: 4.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.5313, allocations: 8.562 kB / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5313, allocations: 0 / 0.5936 GB, free: 4.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.758e-05/0.5314, allocations: 38.31 kB / 0.5936 GB, free: 4.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5315, allocations: 12.12 kB / 0.5936 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5315, allocations: 0 / 0.5936 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5315, allocations: 2.062 kB / 0.5936 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.5316, allocations: 0 / 0.5936 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5316, allocations: 0 / 0.5936 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.5316, allocations: 3.938 kB / 0.5936 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.5316, allocations: 7.188 kB / 0.5936 GB, free: 4.395 MB / 410.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 (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 7.075e-05/0.5317, allocations: 101.8 kB / 0.5937 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.5317, allocations: 0 / 0.5937 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.5319, allocations: 56.48 kB / 0.5938 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5319, allocations: 0 / 0.5938 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5319, allocations: 4 kB / 0.5938 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5319, allocations: 0.6562 kB / 0.5938 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.532, allocations: 122.2 kB / 0.5939 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.532, allocations: 3.984 kB / 0.5939 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.532, allocations: 0 / 0.5939 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.532, allocations: 4 kB / 0.5939 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.5321, allocations: 0 / 0.5939 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5321, allocations: 4.031 kB / 0.5939 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5321, allocations: 7.844 kB / 0.5939 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.553e-05/0.5322, allocations: 49.14 kB / 0.594 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.5322, allocations: 89.09 kB / 0.594 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.5322, allocations: 0.6094 kB / 0.594 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-06/0.5322, allocations: 0 / 0.594 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.5323, allocations: 3.906 kB / 0.594 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5323, allocations: 4.031 kB / 0.5941 GB, free: 3.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.578e-05/0.5323, allocations: 75.28 kB / 0.5941 GB, free: 3.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000204/0.5325, allocations: 12 kB / 0.5941 GB, free: 3.789 MB / 410.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 (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.0002009/0.5327, allocations: 119.1 kB / 0.5942 GB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.555e-05/0.5328, allocations: 4 kB / 0.5943 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5328, allocations: 0 / 0.5943 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.5328, allocations: 0 / 0.5943 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.5329, allocations: 4.125 kB / 0.5943 GB, free: 3.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001814/0.5331, allocations: 41.34 kB / 0.5943 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.5334, allocations: 0.6841 MB / 0.595 GB, free: 2.883 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5334, allocations: 0 / 0.595 GB, free: 2.883 MB / 410.7 MB Notification: Performance of Templates: time 0.00245/0.5359, allocations: 448.9 kB / 0.5954 GB, free: 2.469 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)