Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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.091/2.091, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.001759/0.001759, allocations: 185.1 kB / 319.6 MB, free: 3.316 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 1.949/1.949, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001421/0.00142, allocations: 87.39 kB / 0.6746 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.453e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7402/0.9848, allocations: 136.1 MB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9851, allocations: 84.38 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05085/1.036, allocations: 9.923 MB / 1.031 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.981e-05/1.036, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00126/1.037, allocations: 0.5229 MB / 1.031 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.037, allocations: 8.031 kB / 1.031 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/1.038, allocations: 39.61 kB / 1.031 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/1.038, allocations: 277 kB / 1.032 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.038, allocations: 4 kB / 1.032 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/1.038, allocations: 15.91 kB / 1.032 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/1.04, allocations: 0.7313 MB / 1.032 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/1.041, allocations: 204.1 kB / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.041, allocations: 4 kB / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/1.041, allocations: 4 kB / 1.032 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.041, allocations: 4 kB / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/1.043, allocations: 0.5665 MB / 1.033 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/1.043, allocations: 287.6 kB / 1.033 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/1.044, allocations: 101.6 kB / 1.033 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/1.044, allocations: 19.75 kB / 1.033 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/1.044, allocations: 174.3 kB / 1.034 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.436e-06/1.044, allocations: 0 / 1.034 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0009067/1.045, allocations: 256.4 kB / 1.034 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/1.045, allocations: 132.5 kB / 1.034 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005345/1.046, allocations: 267.5 kB / 1.034 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/1.046, allocations: 29.7 kB / 1.034 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/1.046, allocations: 103.6 kB / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/1.046, allocations: 111.4 kB / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/1.046, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.046, allocations: 337.9 kB / 1.035 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.047, allocations: 73.23 kB / 1.035 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/1.047, allocations: 125.1 kB / 1.035 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/1.047, allocations: 103.4 kB / 1.035 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.047, allocations: 0 / 1.035 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007958/1.048, allocations: 261 kB / 1.035 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.048, allocations: 8 kB / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.048, allocations: 0 / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.048, allocations: 48 / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/1.049, allocations: 63.89 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.049, allocations: 4 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/1.049, allocations: 31.67 kB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/1.049, allocations: 19.55 kB / 1.035 GB, free: 5.875 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001759/1.049, allocations: 109.6 kB / 1.036 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/1.049, allocations: 27.62 kB / 1.036 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.051, allocations: 384 kB / 1.036 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.051, allocations: 4 kB / 1.036 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.051, allocations: 0 / 1.036 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.051, allocations: 4 kB / 1.036 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/1.051, allocations: 308.9 kB / 1.036 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.051, allocations: 0 / 1.036 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/1.052, allocations: 63.28 kB / 1.036 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.052, allocations: 0 / 1.036 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/1.052, allocations: 15.8 kB / 1.036 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.052, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.052, allocations: 4 kB / 1.036 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001302/1.053, allocations: 305 kB / 1.037 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/1.054, allocations: 159.6 kB / 1.037 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.054, allocations: 3.906 kB / 1.037 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/1.055, allocations: 23.97 kB / 1.037 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.055, allocations: 26.97 kB / 1.037 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/1.055, allocations: 14.73 kB / 1.037 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006322/1.056, allocations: 215.2 kB / 1.037 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001169/1.057, allocations: 70.86 kB / 1.037 GB, free: 4.332 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001509/1.058, allocations: 301.8 kB / 1.037 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.059, allocations: 217.6 kB / 1.038 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.06, allocations: 4 kB / 1.038 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/1.06, allocations: 125.6 kB / 1.038 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/1.061, allocations: 27.64 kB / 1.038 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.063, allocations: 411.9 kB / 1.038 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.064, allocations: 0.8185 MB / 1.039 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/1.064, allocations: 3.938 kB / 1.039 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of Templates: time 0.02106/1.085, allocations: 3.884 MB / 1.043 GB, free: 14.78 MB / 0.6667 GB