Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.8 MB / 297.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 169.3 kB / 366.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 0.6256 GB, free: 5.871 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009867/0.0009868, allocations: 93.42 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/8.967e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5338, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.6874, allocations: 138.1 MB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.6877, allocations: 67.97 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002495/0.6902, allocations: 492.3 kB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6902, allocations: 4 kB / 1.108 GB, free: 9.82 MB / 0.7136 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.0003715/0.6906, allocations: 339.3 kB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6906, allocations: 12.03 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.6907, allocations: 11.89 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6908, allocations: 163.1 kB / 1.108 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.6908, allocations: 1.438 kB / 1.108 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.6909, allocations: 3.906 kB / 1.108 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.526e-05/0.691, allocations: 12 kB / 1.108 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.691, allocations: 43.77 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.6911, allocations: 0 / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6911, allocations: 0 / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6911, allocations: 0.6875 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.6915, allocations: 257.4 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.6916, allocations: 30.56 kB / 1.109 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.6916, allocations: 20.92 kB / 1.109 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.6917, allocations: 0.5625 kB / 1.109 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.6917, allocations: 30.56 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.6917, allocations: 0 / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.6919, allocations: 45.69 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.6919, allocations: 55.34 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.692, allocations: 97.81 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.692, allocations: 26.36 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.6921, allocations: 96.08 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.6921, allocations: 7.922 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6921, allocations: 0 / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6923, allocations: 314.8 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.6923, allocations: 8 kB / 1.109 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.6923, allocations: 7.938 kB / 1.109 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.6924, allocations: 13.67 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6924, allocations: 4 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001028/0.6925, allocations: 49.75 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6925, allocations: 4 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6925, allocations: 0 / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6925, allocations: 0 / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.6926, allocations: 12.25 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6927, allocations: 0 / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.6927, allocations: 19.92 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.6928, allocations: 4 kB / 1.11 GB, free: 7.973 MB / 0.7136 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.755e-05/0.6928, allocations: 104.9 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.6929, allocations: 0 / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.693, allocations: 65.2 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6931, allocations: 0 / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6931, allocations: 0 / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6931, allocations: 8.016 kB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.6932, allocations: 142.2 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.6932, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.6933, allocations: 8.562 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6933, allocations: 0 / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.6933, allocations: 0 / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6933, allocations: 7.906 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6933, allocations: 3.984 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001416/0.6935, allocations: 143.5 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.6936, allocations: 85.86 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6936, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.6937, allocations: 4 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.6937, allocations: 7.984 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.6937, allocations: 4.031 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.693e-05/0.6938, allocations: 83.28 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002158/0.694, allocations: 8 kB / 1.11 GB, free: 7.219 MB / 0.7136 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.0001368/0.6942, allocations: 104.9 kB / 1.11 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.6942, allocations: 16 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6943, allocations: 4.5 kB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.6943, allocations: 11.94 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.6944, allocations: 15.66 kB / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.6947, allocations: 59.92 kB / 1.11 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.695, allocations: 0.6919 MB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.695, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of Templates: time 0.002425/0.6974, allocations: 0.5087 MB / 1.112 GB, free: 5.781 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)