Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.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.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") [: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.496/0.496, allocations: 94.74 MB / 102 MB, free: 10.37 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.001073/0.001073, allocations: 172.9 kB / 125.3 MB, free: 12 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.301/1.301, allocations: 170.5 MB / 319 MB, free: 9.371 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.001765/0.001765, allocations: 110.3 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.306e-05, allocations: 4 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 61.52 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.523, allocations: 92.59 MB / 0.5886 GB, free: 9.848 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5234, allocations: 78.02 kB / 0.5886 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003236/0.5266, allocations: 0.837 MB / 0.5894 GB, free: 8.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.5266, allocations: 0 / 0.5894 GB, free: 8.961 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000263/0.5269, allocations: 307 kB / 0.5897 GB, free: 8.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.527, allocations: 8.562 kB / 0.5897 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.527, allocations: 6.062 kB / 0.5898 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.674e-05/0.5271, allocations: 163.1 kB / 0.5899 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5271, allocations: 1.562 kB / 0.5899 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5272, allocations: 0 / 0.5899 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.131e-05/0.5272, allocations: 9.156 kB / 0.5899 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.884e-05/0.5273, allocations: 38.23 kB / 0.59 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.5273, allocations: 6.344 kB / 0.59 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5273, allocations: 1.438 kB / 0.59 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5273, allocations: 0 / 0.59 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.5275, allocations: 126.2 kB / 0.5901 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.5275, allocations: 18.61 kB / 0.5901 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.5275, allocations: 8.922 kB / 0.5901 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.5276, allocations: 0 / 0.5901 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5276, allocations: 45.16 kB / 0.5902 GB, free: 8.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/0.5276, allocations: 0 / 0.5902 GB, free: 8.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005873/0.5282, allocations: 241.9 kB / 0.5904 GB, free: 7.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5283, allocations: 52.5 kB / 0.5904 GB, free: 7.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.5283, allocations: 85 kB / 0.5905 GB, free: 7.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5283, allocations: 30.55 kB / 0.5905 GB, free: 7.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.5284, allocations: 80.14 kB / 0.5906 GB, free: 7.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.5284, allocations: 20.98 kB / 0.5906 GB, free: 7.531 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.5284, allocations: 0 / 0.5906 GB, free: 7.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5285, allocations: 311.6 kB / 0.5909 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.5286, allocations: 7.938 kB / 0.5909 GB, free: 7.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.5286, allocations: 19.66 kB / 0.591 GB, free: 7.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.5287, allocations: 8.781 kB / 0.591 GB, free: 7.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5287, allocations: 0 / 0.591 GB, free: 7.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.5288, allocations: 49.69 kB / 0.591 GB, free: 7.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5288, allocations: 4 kB / 0.591 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5288, allocations: 4.5 kB / 0.591 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5288, allocations: 7.766 kB / 0.591 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.5289, allocations: 11.84 kB / 0.591 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5289, allocations: 4.625 kB / 0.5911 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.5289, allocations: 0 / 0.5911 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.529, allocations: 4 kB / 0.5911 GB, free: 7.098 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.282e-05/0.529, allocations: 104.5 kB / 0.5912 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.529, allocations: 0 / 0.5912 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.5292, allocations: 64.94 kB / 0.5912 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5293, allocations: 3.906 kB / 0.5912 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5293, allocations: 0 / 0.5912 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5293, allocations: 1.156 kB / 0.5912 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.648e-05/0.5294, allocations: 138.2 kB / 0.5914 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5294, allocations: 0 / 0.5914 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.5294, allocations: 12.59 kB / 0.5914 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5295, allocations: 0 / 0.5914 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5295, allocations: 5 kB / 0.5914 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5295, allocations: 0 / 0.5914 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5295, allocations: 0 / 0.5914 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/0.5296, allocations: 79.83 kB / 0.5914 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.5297, allocations: 79.89 kB / 0.5915 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5297, allocations: 0 / 0.5915 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.5297, allocations: 0 / 0.5915 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.5298, allocations: 12.16 kB / 0.5915 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.5298, allocations: 0 / 0.5915 GB, free: 6.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.523e-05/0.5298, allocations: 79.28 kB / 0.5916 GB, free: 6.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.53, allocations: 16.03 kB / 0.5916 GB, free: 6.445 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001844/0.5302, allocations: 115.2 kB / 0.5917 GB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.5303, allocations: 19.92 kB / 0.5918 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5303, allocations: 0 / 0.5918 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.5303, allocations: 8 kB / 0.5918 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.78e-05/0.5304, allocations: 4.125 kB / 0.5918 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.5307, allocations: 65.83 kB / 0.5918 GB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.531, allocations: 0.6915 MB / 0.5925 GB, free: 5.492 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.531, allocations: 0 / 0.5925 GB, free: 5.492 MB / 410.7 MB Notification: Performance of Templates: time 0.002421/0.5334, allocations: 0.5547 MB / 0.593 GB, free: 4.977 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)