Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.0011/0.0011, allocations: 172 kB / 366.3 MB, free: 1.941 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.339/1.339, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009654/0.0009652, allocations: 77.38 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.064e-05/1.066e-05, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7112, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.8995, allocations: 137.6 MB / 1.107 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.8999, allocations: 75.89 kB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004834/0.9048, allocations: 1.059 MB / 1.108 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9048, allocations: 0 / 1.108 GB, free: 9.766 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003801/0.9052, allocations: 335.2 kB / 1.108 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.376e-05/0.9053, allocations: 8.031 kB / 1.108 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.9053, allocations: 3.906 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.9055, allocations: 171.1 kB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.9056, allocations: 4.75 kB / 1.109 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.9056, allocations: 3.906 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.97e-05/0.9057, allocations: 11.98 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.901e-05/0.9058, allocations: 41.62 kB / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9058, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.9058, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.9058, allocations: 4 kB / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.906, allocations: 134.3 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.9061, allocations: 31.22 kB / 1.109 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.9061, allocations: 12.91 kB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.9062, allocations: 7.906 kB / 1.109 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.9063, allocations: 30.56 kB / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.9063, allocations: 0 / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0008023/0.9071, allocations: 298.2 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.9071, allocations: 63.45 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.9072, allocations: 101.8 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.9072, allocations: 25.7 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.9073, allocations: 80.14 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.9073, allocations: 15.73 kB / 1.109 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.9073, allocations: 0 / 1.109 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9075, allocations: 318.8 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.9075, allocations: 11.98 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.9075, allocations: 33.7 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.9076, allocations: 20.86 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.9076, allocations: 0 / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002183/0.9078, allocations: 73.58 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9079, allocations: 4 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9079, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9079, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.908, allocations: 11.98 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.908, allocations: 4.062 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.908, allocations: 3.938 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.9081, allocations: 6.109 kB / 1.11 GB, free: 7.688 MB / 0.7136 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 7.488e-05/0.9081, allocations: 102 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.9082, allocations: 7.906 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.9084, allocations: 81.66 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9084, allocations: 0 / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9084, allocations: 0 / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9085, allocations: 4 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.9086, allocations: 142.2 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.9086, allocations: 7.906 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.9087, allocations: 4 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9087, allocations: 0 / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.9087, allocations: 4 kB / 1.11 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9087, allocations: 0.8438 kB / 1.11 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9087, allocations: 3.938 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000225/0.909, allocations: 119.5 kB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.909, allocations: 81.11 kB / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.909, allocations: 0 / 1.11 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.9091, allocations: 7.938 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.9091, allocations: 3.938 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.9091, allocations: 4 kB / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.441e-05/0.9092, allocations: 87.28 kB / 1.11 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000252/0.9095, allocations: 25.67 kB / 1.11 GB, free: 6.922 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.0002294/0.9097, allocations: 131.2 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.9098, allocations: 31.92 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9098, allocations: 0 / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.9098, allocations: 12 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.91, allocations: 4 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.9103, allocations: 88.44 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.9106, allocations: 0.6876 MB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.9106, allocations: 4.125 kB / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.003756/0.9144, allocations: 0.9402 MB / 1.112 GB, free: 5.004 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)