Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.545/1.545, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.00126/0.00126, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.281/1.281, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000883/0.0008831, allocations: 90.55 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.654e-06, allocations: 0 / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.6997, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.8784, allocations: 136.6 MB / 1.097 GB, free: 3.438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.8786, allocations: 73.41 kB / 1.097 GB, free: 3.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00425/0.8829, allocations: 1.055 MB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8829, allocations: 0 / 1.098 GB, free: 2.348 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.0003062/0.8832, allocations: 328.6 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8833, allocations: 15.69 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.8833, allocations: 3.906 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.8835, allocations: 171 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8835, allocations: 1.125 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.8836, allocations: 5.094 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.09e-05/0.8836, allocations: 11.98 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/0.8837, allocations: 37.69 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.8837, allocations: 0 / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8838, allocations: 2.969 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8838, allocations: 0 / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.884, allocations: 134.2 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.884, allocations: 26.59 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.8841, allocations: 12.92 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.8841, allocations: 18.06 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.8842, allocations: 31.06 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.8842, allocations: 1.312 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0007614/0.8849, allocations: 299.6 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.885, allocations: 59.91 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.8851, allocations: 99.11 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.8851, allocations: 25.7 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.8852, allocations: 84.92 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.8852, allocations: 15.73 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.8852, allocations: 0 / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.8853, allocations: 320.4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.8854, allocations: 11.98 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.8854, allocations: 31.55 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.8855, allocations: 17.33 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8855, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.8856, allocations: 74.23 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8857, allocations: 11.16 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8857, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8857, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.8858, allocations: 13.86 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.8858, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.8858, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.8858, allocations: 4 kB / 1.1 GB, free: 304 kB / 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 6.928e-05/0.8859, allocations: 101.7 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.8859, allocations: 8.656 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.8861, allocations: 90.31 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8862, allocations: 7.75 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8862, allocations: 0 / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8862, allocations: 4.922 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8863, allocations: 134.2 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8863, allocations: 10.28 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.8864, allocations: 4 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8864, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.8864, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8864, allocations: 4 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8864, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002081/0.8866, allocations: 119.5 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.8867, allocations: 77.77 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.8867, allocations: 4.031 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.8867, allocations: 7.906 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.8868, allocations: 3.938 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8868, allocations: 4 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.485e-05/0.8868, allocations: 83.28 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000208/0.8871, allocations: 31.92 kB / 1.101 GB, free: 15.54 MB / 0.7136 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.0001882/0.8873, allocations: 131 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.8874, allocations: 31.98 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8874, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.8874, allocations: 12 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.8875, allocations: 0.75 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.8878, allocations: 97.38 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.8881, allocations: 0.6917 MB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.8881, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.003197/0.8913, allocations: 0.9322 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)