Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [: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.7433/0.7433, allocations: 141.8 MB / 149.1 MB, free: 4.031 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.001161/0.001161, allocations: 187.2 kB / 181.9 MB, free: 15.75 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.326/1.326, allocations: 221.3 MB / 436 MB, free: 8.895 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.000979/0.0009786, allocations: 89.05 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 276.1 kB / 0.5884 GB, free: 11.92 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.879e-06/9.909e-06, allocations: 4 kB / 0.6759 GB, free: 2.266 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 82.75 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.5192, allocations: 107.1 MB / 0.8613 GB, free: 5.242 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5195, allocations: 80.27 kB / 0.8614 GB, free: 5.168 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0009318/0.5204, allocations: 170.9 kB / 0.8616 GB, free: 5.004 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5205, allocations: 5.344 kB / 0.8616 GB, free: 5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001711/0.5206, allocations: 302.5 kB / 0.8619 GB, free: 4.66 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5207, allocations: 10.38 kB / 0.8619 GB, free: 4.652 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.5207, allocations: 4 kB / 0.8619 GB, free: 4.648 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.795e-05/0.5208, allocations: 163.1 kB / 0.862 GB, free: 4.449 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5208, allocations: 0.8125 kB / 0.862 GB, free: 4.449 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5208, allocations: 0 / 0.862 GB, free: 4.449 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.92e-05/0.5209, allocations: 3.344 kB / 0.862 GB, free: 4.449 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.14e-05/0.5209, allocations: 41.53 kB / 0.8621 GB, free: 4.402 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5209, allocations: 0.5 kB / 0.8621 GB, free: 4.402 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.521, allocations: 0.7188 kB / 0.8621 GB, free: 4.402 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.521, allocations: 0 / 0.8621 GB, free: 4.402 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.998e-05/0.5211, allocations: 126.8 kB / 0.8622 GB, free: 4.242 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.366e-05/0.5211, allocations: 19.23 kB / 0.8622 GB, free: 4.215 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.5211, allocations: 5.641 kB / 0.8622 GB, free: 4.207 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.5212, allocations: 0.7188 kB / 0.8622 GB, free: 4.207 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5212, allocations: 39.36 kB / 0.8623 GB, free: 4.16 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 2.434e-06/0.5212, allocations: 0.6562 kB / 0.8623 GB, free: 4.16 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.5214, allocations: 37.55 kB / 0.8623 GB, free: 4.117 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.5214, allocations: 52.28 kB / 0.8623 GB, free: 4.055 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.359e-05/0.5214, allocations: 86.25 kB / 0.8624 GB, free: 3.965 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5215, allocations: 25.7 kB / 0.8624 GB, free: 3.934 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.5215, allocations: 80.14 kB / 0.8625 GB, free: 3.852 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5215, allocations: 0.8438 kB / 0.8625 GB, free: 3.852 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.5215, allocations: 0 / 0.8625 GB, free: 3.852 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.5216, allocations: 319.7 kB / 0.8628 GB, free: 3.531 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.5216, allocations: 0 / 0.8628 GB, free: 3.531 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.5216, allocations: 0.625 kB / 0.8628 GB, free: 3.531 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.5216, allocations: 8.578 kB / 0.8628 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5216, allocations: 4.688 kB / 0.8628 GB, free: 3.52 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.057e-05/0.5217, allocations: 34.2 kB / 0.8629 GB, free: 3.48 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.5217, allocations: 4 kB / 0.8629 GB, free: 3.477 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.5217, allocations: 2.688 kB / 0.8629 GB, free: 3.477 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5218, allocations: 0 / 0.8629 GB, free: 3.477 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.5218, allocations: 8.531 kB / 0.8629 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.5218, allocations: 0 / 0.8629 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.5218, allocations: 4.531 kB / 0.8629 GB, free: 3.465 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5219, allocations: 8.609 kB / 0.8629 GB, free: 3.457 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 (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.611e-05/0.5219, allocations: 101.6 kB / 0.863 GB, free: 3.352 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.5219, allocations: 0 / 0.863 GB, free: 3.352 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.522, allocations: 47.64 kB / 0.863 GB, free: 3.301 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.522, allocations: 3.984 kB / 0.8631 GB, free: 3.297 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5221, allocations: 0.5625 kB / 0.8631 GB, free: 3.297 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5221, allocations: 0.6562 kB / 0.8631 GB, free: 3.297 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.162e-05/0.5221, allocations: 122.2 kB / 0.8632 GB, free: 3.141 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.5221, allocations: 0.8438 kB / 0.8632 GB, free: 3.141 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.5221, allocations: 4 kB / 0.8632 GB, free: 3.137 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5222, allocations: 0.5625 kB / 0.8632 GB, free: 3.137 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.5222, allocations: 4 kB / 0.8632 GB, free: 3.133 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.5222, allocations: 0.5 kB / 0.8632 GB, free: 3.133 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5222, allocations: 4.688 kB / 0.8632 GB, free: 3.129 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.274e-05/0.5223, allocations: 63.75 kB / 0.8632 GB, free: 3.051 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.5223, allocations: 77.11 kB / 0.8633 GB, free: 2.957 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.5223, allocations: 0 / 0.8633 GB, free: 2.957 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.5223, allocations: 1.188 kB / 0.8633 GB, free: 2.957 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.5223, allocations: 7.906 kB / 0.8633 GB, free: 2.949 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.5223, allocations: 4.734 kB / 0.8633 GB, free: 2.945 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.327e-05/0.5224, allocations: 79.28 kB / 0.8634 GB, free: 2.867 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002078/0.5226, allocations: 8.906 kB / 0.8634 GB, free: 2.859 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 (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.0001392/0.5227, allocations: 104.5 kB / 0.8635 GB, free: 2.746 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.248e-05/0.5228, allocations: 4 kB / 0.8635 GB, free: 2.742 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5228, allocations: 1.969 kB / 0.8635 GB, free: 2.742 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.5228, allocations: 7.938 kB / 0.8635 GB, free: 2.734 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.5229, allocations: 3.938 kB / 0.8635 GB, free: 2.73 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001354/0.523, allocations: 45.72 kB / 0.8636 GB, free: 2.664 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5232, allocations: 0.6817 MB / 0.8642 GB, free: 1.957 MB / 0.5263 GB Notification: Performance of SimCode: time 2.1e-07/0.5232, allocations: 3.469 kB / 0.8642 GB, free: 1.957 MB / 0.5263 GB Notification: Performance of Templates: time 0.002055/0.5252, allocations: 310.3 kB / 0.8645 GB, free: 1.68 MB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)