Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime") [: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 8.0.0/package.mo): time 2.228/2.228, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 181.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 90.56 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.315e-06, allocations: 0 / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5781, allocations: 115.2 MB / 0.9628 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.7845, allocations: 136.3 MB / 1.096 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.7848, allocations: 69.27 kB / 1.096 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0004446/0.7852, allocations: 59.78 kB / 1.096 GB, free: 4.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7853, allocations: 0.5 kB / 1.096 GB, free: 4.402 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002661/0.7855, allocations: 304.5 kB / 1.096 GB, free: 4.062 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.7856, allocations: 8.531 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.7856, allocations: 0 / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7858, allocations: 163.1 kB / 1.096 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7858, allocations: 5.781 kB / 1.096 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.7858, allocations: 2.25 kB / 1.096 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.873e-05/0.7859, allocations: 4 kB / 1.096 GB, free: 3.848 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.442e-05/0.7859, allocations: 29.7 kB / 1.096 GB, free: 3.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.786, allocations: 1.266 kB / 1.096 GB, free: 3.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.786, allocations: 0 / 1.096 GB, free: 3.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.786, allocations: 0.5 kB / 1.096 GB, free: 3.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.7861, allocations: 123.1 kB / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.7862, allocations: 23.3 kB / 1.097 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.7862, allocations: 9.5 kB / 1.097 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.7863, allocations: 1.094 kB / 1.097 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7863, allocations: 40.61 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.7863, allocations: 1.719 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.7865, allocations: 29.7 kB / 1.097 GB, free: 3.531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.7865, allocations: 55.41 kB / 1.097 GB, free: 3.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.7866, allocations: 86.44 kB / 1.097 GB, free: 3.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.7866, allocations: 25.7 kB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.7866, allocations: 80.14 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.7867, allocations: 2.812 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-06/0.7867, allocations: 0 / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7868, allocations: 311.6 kB / 1.097 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.7868, allocations: 7.938 kB / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.7869, allocations: 0 / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.7869, allocations: 0 / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7869, allocations: 5.719 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001257/0.787, allocations: 33.69 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7871, allocations: 8 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7871, allocations: 0 / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7871, allocations: 3.75 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.7872, allocations: 0 / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7872, allocations: 3.938 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.7872, allocations: 4.531 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7872, allocations: 5.562 kB / 1.097 GB, free: 2.883 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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.0001119/0.7874, allocations: 108.8 kB / 1.097 GB, free: 2.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.7874, allocations: 3.906 kB / 1.097 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.7874, allocations: 3 kB / 1.097 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7874, allocations: 0 / 1.097 GB, free: 2.762 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7874, allocations: 3.984 kB / 1.097 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7874, allocations: 0.5625 kB / 1.097 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.617e-05/0.7875, allocations: 128.4 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7876, allocations: 0.8438 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.7876, allocations: 3.938 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7876, allocations: 0.6562 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7876, allocations: 6.188 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7876, allocations: 0 / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.7876, allocations: 6.188 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.794e-05/0.7877, allocations: 54.44 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.7878, allocations: 78.33 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.7878, allocations: 0 / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.7878, allocations: 3.906 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.7879, allocations: 4.594 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.7879, allocations: 4.625 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.413e-05/0.7879, allocations: 76.06 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002266/0.7881, allocations: 0 / 1.098 GB, free: 2.336 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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.000121/0.7883, allocations: 92.53 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.7884, allocations: 8.812 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7884, allocations: 0 / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/0.7884, allocations: 4.641 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.7885, allocations: 7.75 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.7887, allocations: 37.33 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.789, allocations: 0.6841 MB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/0.789, allocations: 0.7188 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of Templates: time 0.002173/0.7912, allocations: 163.4 kB / 1.099 GB, free: 1.312 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)