Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") [: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.351/1.351, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.0009309/0.0009308, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.031/1.031, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0007947/0.0007948, allocations: 88.39 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.939e-06/1.004e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4542, allocations: 116.3 MB / 0.9726 GB, free: 68.56 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5979, allocations: 137.7 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.5982, allocations: 76.56 kB / 1.107 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001459/0.5996, allocations: 361.9 kB / 1.107 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5997, allocations: 8 kB / 1.108 GB, free: 10.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002946/0.6, allocations: 330.5 kB / 1.108 GB, free: 10 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6, allocations: 8.031 kB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.6, allocations: 7.906 kB / 1.108 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.6001, allocations: 167.1 kB / 1.108 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.6002, allocations: 0 / 1.108 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.6002, allocations: 0 / 1.108 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.005e-05/0.6002, allocations: 14.73 kB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.563e-05/0.6003, allocations: 29.7 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.6003, allocations: 0 / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6003, allocations: 3.906 kB / 1.108 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6003, allocations: 3.984 kB / 1.108 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.6006, allocations: 233.4 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.6007, allocations: 26.58 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.6007, allocations: 4.859 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.6007, allocations: 4.062 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.6008, allocations: 42.45 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6008, allocations: 0 / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001327/0.6009, allocations: 37.67 kB / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.6009, allocations: 55.41 kB / 1.108 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.601, allocations: 96.98 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.601, allocations: 25.7 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.601, allocations: 81.83 kB / 1.109 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.6011, allocations: 7.906 kB / 1.109 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.6011, allocations: 0 / 1.109 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.6012, allocations: 314.8 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.6012, allocations: 4 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.6012, allocations: 8 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.617e-05/0.6012, allocations: 7.984 kB / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6012, allocations: 0 / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.456e-05/0.6013, allocations: 41.61 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.6013, allocations: 8 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.6013, allocations: 3.938 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.6013, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.6014, allocations: 16.08 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6015, allocations: 3.938 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.6015, allocations: 11.98 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6015, allocations: 0 / 1.109 GB, free: 8.609 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 5.597e-05/0.6016, allocations: 108.9 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.6016, allocations: 0 / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.6017, allocations: 49.94 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6017, allocations: 0 / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6017, allocations: 0 / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6017, allocations: 0 / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.6019, allocations: 138.1 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6019, allocations: 0 / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.602, allocations: 15.98 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.602, allocations: 4.031 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.602, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.602, allocations: 4 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.602, allocations: 0.5625 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.903e-05/0.6021, allocations: 143.4 kB / 1.109 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.6021, allocations: 77.11 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.6022, allocations: 0 / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.6022, allocations: 16.02 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.6023, allocations: 4 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.6023, allocations: 1.219 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.938e-05/0.6023, allocations: 83.19 kB / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001993/0.6025, allocations: 4 kB / 1.11 GB, free: 7.887 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.000102/0.6026, allocations: 99.23 kB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.6027, allocations: 16 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6027, allocations: 0 / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.6027, allocations: 15.94 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.6029, allocations: 0 / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.6031, allocations: 55.91 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.6033, allocations: 0.6963 MB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.6034, allocations: 0 / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.001858/0.6052, allocations: 402 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)