Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") [: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.5205/0.5205, allocations: 94.74 MB / 102 MB, free: 10.34 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.001041/0.001041, allocations: 180.6 kB / 125.3 MB, free: 11.98 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.299/1.299, allocations: 170.5 MB / 319 MB, free: 9.398 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.001614/0.001614, allocations: 113.4 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.186e-05, allocations: 4 kB / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 61.51 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/0.4345, allocations: 93.11 MB / 0.589 GB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4348, allocations: 65.34 kB / 0.5891 GB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.00262/0.4374, allocations: 0.5828 MB / 0.5897 GB, free: 8.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4374, allocations: 0 / 0.5897 GB, free: 8.629 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003507/0.4378, allocations: 344.1 kB / 0.59 GB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4378, allocations: 16.02 kB / 0.59 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.4379, allocations: 1.562 kB / 0.59 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.438, allocations: 170.8 kB / 0.5902 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.438, allocations: 3.828 kB / 0.5902 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4381, allocations: 0 / 0.5902 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.66e-05/0.4381, allocations: 16 kB / 0.5902 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/0.4382, allocations: 41.59 kB / 0.5902 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.4382, allocations: 3.656 kB / 0.5902 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4383, allocations: 0 / 0.5902 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4383, allocations: 2.109 kB / 0.5902 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4386, allocations: 255.5 kB / 0.5905 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.4387, allocations: 34.47 kB / 0.5905 GB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.4388, allocations: 8.922 kB / 0.5905 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.4388, allocations: 4.844 kB / 0.5905 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4388, allocations: 35.41 kB / 0.5906 GB, free: 7.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4388, allocations: 0 / 0.5906 GB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.439, allocations: 49.69 kB / 0.5906 GB, free: 7.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4391, allocations: 59.25 kB / 0.5907 GB, free: 7.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.4391, allocations: 96.98 kB / 0.5908 GB, free: 7.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4391, allocations: 25.7 kB / 0.5908 GB, free: 7.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.4392, allocations: 88.88 kB / 0.5909 GB, free: 7.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.4392, allocations: 7.906 kB / 0.5909 GB, free: 7.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.4392, allocations: 0 / 0.5909 GB, free: 7.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.4393, allocations: 310.8 kB / 0.5912 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.4393, allocations: 8 kB / 0.5912 GB, free: 6.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.4394, allocations: 6.125 kB / 0.5912 GB, free: 6.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.4394, allocations: 15.89 kB / 0.5912 GB, free: 6.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4394, allocations: 0 / 0.5912 GB, free: 6.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.539e-05/0.4395, allocations: 51.38 kB / 0.5913 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.4396, allocations: 4.562 kB / 0.5913 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4396, allocations: 0.625 kB / 0.5913 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4396, allocations: 0 / 0.5913 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.4397, allocations: 16.12 kB / 0.5913 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4397, allocations: 3.984 kB / 0.5913 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.4398, allocations: 4 kB / 0.5913 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4398, allocations: 7.906 kB / 0.5913 GB, free: 6.812 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 (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 5.77e-05/0.4398, allocations: 108.9 kB / 0.5914 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4399, allocations: 0 / 0.5914 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.44, allocations: 68.2 kB / 0.5915 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.44, allocations: 3.906 kB / 0.5915 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.44, allocations: 0 / 0.5915 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4401, allocations: 0 / 0.5915 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.4402, allocations: 142.2 kB / 0.5916 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4402, allocations: 0 / 0.5916 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.4403, allocations: 12.03 kB / 0.5916 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4403, allocations: 0 / 0.5916 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.4403, allocations: 3.562 kB / 0.5916 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4403, allocations: 8.922 kB / 0.5916 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4403, allocations: 0 / 0.5916 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.4404, allocations: 143.4 kB / 0.5918 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.4405, allocations: 87.69 kB / 0.5918 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4405, allocations: 8.031 kB / 0.5919 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.4406, allocations: 7.984 kB / 0.5919 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4407, allocations: 4 kB / 0.5919 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4407, allocations: 1.75 kB / 0.5919 GB, free: 6.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.341e-05/0.4407, allocations: 79.28 kB / 0.5919 GB, free: 6.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.441, allocations: 8 kB / 0.592 GB, free: 6.07 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 (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.0001204/0.4411, allocations: 115.2 kB / 0.5921 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.4412, allocations: 16 kB / 0.5921 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4412, allocations: 0 / 0.5921 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.4412, allocations: 11.94 kB / 0.5921 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.4413, allocations: 0 / 0.5921 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.4415, allocations: 71.77 kB / 0.5922 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.4418, allocations: 0.6959 MB / 0.5928 GB, free: 5.109 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4418, allocations: 0 / 0.5928 GB, free: 5.109 MB / 410.7 MB Notification: Performance of Templates: time 0.00222/0.4441, allocations: 0.5152 MB / 0.5933 GB, free: 4.625 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)