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.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.303/2.303, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001661/0.00166, allocations: 185.2 kB / 319.6 MB, free: 3.34 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.049/2.049, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001332/0.001332, allocations: 98.61 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.353e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2675, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7382/1.006, allocations: 131.5 MB / 1.016 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.006, allocations: 70.89 kB / 1.017 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002571/1.009, allocations: 373.1 kB / 1.017 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.009, allocations: 0 / 1.017 GB, free: 6.57 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.0005209/1.009, allocations: 342.3 kB / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.009, allocations: 8.031 kB / 1.017 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/1.009, allocations: 0 / 1.017 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.01, allocations: 171 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.01, allocations: 3.906 kB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/1.01, allocations: 0 / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.443e-05/1.01, allocations: 15.56 kB / 1.017 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/1.01, allocations: 36.77 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.01, allocations: 1.125 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.01, allocations: 0 / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.01, allocations: 3.984 kB / 1.017 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/1.01, allocations: 227.6 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/1.01, allocations: 27.17 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/1.01, allocations: 12.67 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/1.01, allocations: 0 / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/1.011, allocations: 34.5 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/1.011, allocations: 4 kB / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001857/1.011, allocations: 39.52 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.011, allocations: 51.41 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.011, allocations: 97.02 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.011, allocations: 25.7 kB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/1.011, allocations: 91.55 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/1.011, allocations: 0 / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/1.011, allocations: 0 / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.011, allocations: 318.8 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/1.011, allocations: 3.812 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/1.011, allocations: 4 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/1.011, allocations: 11.92 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.011, allocations: 4.062 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/1.011, allocations: 37.64 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.011, allocations: 6.188 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.011, allocations: 0 / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.011, allocations: 4 kB / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/1.012, allocations: 15.05 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.012, allocations: 0.625 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/1.012, allocations: 20.73 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/1.012, allocations: 0 / 1.018 GB, free: 4.836 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 8.595e-05/1.012, allocations: 101 kB / 1.019 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/1.012, allocations: 0 / 1.019 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/1.012, allocations: 51.89 kB / 1.019 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.012, allocations: 7.844 kB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.012, allocations: 7.969 kB / 1.019 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.012, allocations: 0 / 1.019 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/1.012, allocations: 134 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/1.012, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.013, allocations: 11.98 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/1.013, allocations: 0 / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.013, allocations: 8 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.013, allocations: 0 / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.013, allocations: 4 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001561/1.013, allocations: 138 kB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/1.013, allocations: 85.02 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.013, allocations: 0 / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.013, allocations: 8.172 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.013, allocations: 8.031 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/1.013, allocations: 3.984 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.696e-05/1.013, allocations: 81.84 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002873/1.013, allocations: 4 kB / 1.019 GB, free: 4.129 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.000176/1.014, allocations: 103.2 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.681e-05/1.014, allocations: 11.81 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.014, allocations: 0 / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/1.014, allocations: 11.38 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/1.014, allocations: 7.938 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/1.014, allocations: 62.64 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/1.015, allocations: 0.688 MB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/1.015, allocations: 0 / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of Templates: time 0.003/1.018, allocations: 407 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB