Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") [: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 7.0.1/package.mo): time 2.894/2.894, allocations: 253.1 MB / 260.4 MB, free: 7.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001632, allocations: 189.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001716/0.001715, allocations: 92.2 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.146e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6617/0.8798, allocations: 131.4 MB / 1.016 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.8801, allocations: 70.95 kB / 1.016 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002413/0.8825, allocations: 384.4 kB / 1.017 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.8826, allocations: 4 kB / 1.017 GB, free: 6.512 MB / 0.6355 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.0004341/0.883, allocations: 335.3 kB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8831, allocations: 8.031 kB / 1.017 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.8831, allocations: 4 kB / 1.017 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8833, allocations: 159.1 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8833, allocations: 3.906 kB / 1.017 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.8833, allocations: 0 / 1.017 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.659e-05/0.8834, allocations: 11.69 kB / 1.017 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.8835, allocations: 41 kB / 1.017 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8835, allocations: 4 kB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.8835, allocations: 0 / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8835, allocations: 0 / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.8841, allocations: 254.6 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.8841, allocations: 30.17 kB / 1.018 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.8842, allocations: 12.05 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.8842, allocations: 0 / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.8843, allocations: 34.55 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/0.8843, allocations: 3.938 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/0.8845, allocations: 43.45 kB / 1.018 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.8845, allocations: 51.41 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.8846, allocations: 93.16 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.8847, allocations: 29.69 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.8847, allocations: 88.05 kB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.8847, allocations: 0 / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.8847, allocations: 0 / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8849, allocations: 318 kB / 1.018 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.8849, allocations: 4 kB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.8849, allocations: 11.22 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.885, allocations: 0 / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.885, allocations: 3.938 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.8851, allocations: 49.06 kB / 1.018 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8851, allocations: 4 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8851, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8852, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8853, allocations: 20.08 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.8854, allocations: 0 / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.8855, allocations: 7.906 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.8855, allocations: 4 kB / 1.018 GB, free: 4.762 MB / 0.6355 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 0.0001234/0.8856, allocations: 101 kB / 1.019 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.8857, allocations: 7.234 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.8858, allocations: 48.47 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.8858, allocations: 3.906 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.8858, allocations: 11.92 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8859, allocations: 0 / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.886, allocations: 134 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.886, allocations: 0 / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.8862, allocations: 15.92 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.8862, allocations: 4.031 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8862, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8862, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8862, allocations: 3.812 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001324/0.8864, allocations: 134.5 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.8864, allocations: 85 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.8865, allocations: 0 / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.8866, allocations: 15.16 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.8867, allocations: 3.984 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.8867, allocations: 4 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.018e-05/0.8867, allocations: 75.28 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002854/0.887, allocations: 4 kB / 1.019 GB, free: 4.062 MB / 0.6355 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.0001541/0.8872, allocations: 99.25 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.8873, allocations: 19.31 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8873, allocations: 0 / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.8874, allocations: 6.688 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.8876, allocations: 3.984 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.8879, allocations: 67.64 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.8882, allocations: 0.6841 MB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.8882, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.002868/0.8911, allocations: 408.3 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB