Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [: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.099/2.099, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001626/0.001625, allocations: 177.3 kB / 360.4 MB, free: 7.508 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.63/1.63, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001243/0.001242, allocations: 86.7 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.427e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5489, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.7809, allocations: 137.6 MB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.7812, allocations: 79.08 kB / 1.097 GB, free: 3.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01867/0.7999, allocations: 2.35 MB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.8, allocations: 4.75 kB / 1.1 GB, free: 0.8203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005761/0.8006, allocations: 340 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.8007, allocations: 8.531 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.8008, allocations: 11.91 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.801, allocations: 160.6 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.801, allocations: 4 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8011, allocations: 0.6562 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001184/0.8012, allocations: 19.89 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.8015, allocations: 62.23 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.8015, allocations: 0.8438 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.8016, allocations: 4 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8016, allocations: 0.6562 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.8022, allocations: 244.9 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.8023, allocations: 35.14 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.8024, allocations: 8.859 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.8025, allocations: 96 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.8026, allocations: 65.03 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.8027, allocations: 4.719 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.8029, allocations: 46.91 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.8031, allocations: 116 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8032, allocations: 95.75 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.8033, allocations: 26.39 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.8034, allocations: 84.86 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.8034, allocations: 11.83 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.8034, allocations: 0.8438 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8036, allocations: 314.8 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.8037, allocations: 14.28 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.8038, allocations: 31.19 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.8039, allocations: 8.562 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.8039, allocations: 0.875 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002213/0.8042, allocations: 65.47 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8042, allocations: 8.656 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8043, allocations: 3.672 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8043, allocations: 4.031 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.8045, allocations: 4 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.8045, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.8048, allocations: 13.86 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.8048, allocations: 4 kB / 1.101 GB, free: 14.83 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001471/0.805, allocations: 110 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.8051, allocations: 8 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.8051, allocations: 7.672 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8052, allocations: 1.031 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8052, allocations: 3.906 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8052, allocations: 4 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.8054, allocations: 142.2 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8054, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.8055, allocations: 7.938 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.8055, allocations: 0.6562 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.8056, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8056, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8056, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002383/0.8059, allocations: 86.7 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.806, allocations: 91.77 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.8061, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.8064, allocations: 11.98 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.8064, allocations: 8 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.8065, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.655e-05/0.8066, allocations: 79.28 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004449/0.807, allocations: 15.98 kB / 1.102 GB, free: 14.18 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002153/0.8073, allocations: 103.2 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.8075, allocations: 28.64 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8075, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.8076, allocations: 16 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.8079, allocations: 7.984 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.8083, allocations: 76.44 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.8088, allocations: 0.6876 MB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/0.8088, allocations: 3.938 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.005712/0.8145, allocations: 0.7913 MB / 1.103 GB, free: 12.46 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)