Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.322/2.322, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 181.3 kB / 360.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.2 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001311/0.00131, allocations: 88.59 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.749e-06, allocations: 0 / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6553, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.8843, allocations: 136.4 MB / 1.096 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.8846, allocations: 68.61 kB / 1.096 GB, free: 4.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006568/0.8912, allocations: 1.053 MB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8912, allocations: 1.219 kB / 1.097 GB, free: 3.281 MB / 0.698 GB 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.0003396/0.8916, allocations: 332.3 kB / 1.097 GB, free: 2.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8916, allocations: 12.53 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.8917, allocations: 4.406 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8918, allocations: 167 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.8919, allocations: 0.6875 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.8919, allocations: 3.906 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.626e-05/0.892, allocations: 14.09 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.8921, allocations: 39.47 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8921, allocations: 0 / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8921, allocations: 0 / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.8921, allocations: 4 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.8923, allocations: 137.2 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.8924, allocations: 33.94 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.8924, allocations: 8.922 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.8925, allocations: 19.83 kB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8925, allocations: 32.59 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 4.959e-06/0.8925, allocations: 0.6875 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008244/0.8934, allocations: 300.1 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8934, allocations: 56.06 kB / 1.098 GB, free: 1.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.8935, allocations: 101.5 kB / 1.098 GB, free: 1.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.8936, allocations: 26.36 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.8936, allocations: 84.14 kB / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.8937, allocations: 16.36 kB / 1.098 GB, free: 1.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.8937, allocations: 0.7188 kB / 1.098 GB, free: 1.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8938, allocations: 315.7 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.8939, allocations: 15.98 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.894, allocations: 26.2 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.8941, allocations: 17.3 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8942, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002679/0.8944, allocations: 78.23 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8945, allocations: 6.094 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8945, allocations: 0 / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8945, allocations: 0.7188 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.8946, allocations: 11.98 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8946, allocations: 0.6875 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.8947, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.8947, allocations: 7.531 kB / 1.099 GB, free: 1.227 MB / 0.698 GB 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 8.657e-05/0.8948, allocations: 110.7 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.8948, allocations: 7.906 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.8952, allocations: 91.89 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8952, allocations: 0 / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8952, allocations: 0 / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8952, allocations: 3.984 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.8954, allocations: 138.2 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.8954, allocations: 4.656 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.8955, allocations: 4 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8955, allocations: 4 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.8955, allocations: 4 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.8955, allocations: 2.562 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8955, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002944/0.8958, allocations: 116 kB / 1.099 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.8959, allocations: 81.05 kB / 1.099 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.8959, allocations: 8.031 kB / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.896, allocations: 3.906 kB / 1.099 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.896, allocations: 4.062 kB / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.896, allocations: 4 kB / 1.099 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.13e-05/0.8961, allocations: 87.28 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003203/0.8964, allocations: 27.92 kB / 1.1 GB, free: 468 kB / 0.698 GB 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.0002448/0.8967, allocations: 119.2 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.8968, allocations: 28.69 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8968, allocations: 1.125 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.8969, allocations: 16.12 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.897, allocations: 8.562 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.8973, allocations: 92.86 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.8978, allocations: 0.6915 MB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/0.8978, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.004211/0.902, allocations: 0.932 MB / 1.101 GB, free: 14.57 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)