Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7191/0.7191, allocations: 141.8 MB / 149.1 MB, free: 4.488 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.6 kB / 181.9 MB, free: 172 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.3 MB / 436 MB, free: 9.398 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.0009771, allocations: 106.1 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 273.5 kB / 0.5884 GB, free: 12.37 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.588e-06, allocations: 4 kB / 0.6759 GB, free: 2.727 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.371, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4826, allocations: 108.4 MB / 0.8626 GB, free: 4.34 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.4828, allocations: 80.33 kB / 0.8627 GB, free: 4.266 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.006336/0.4892, allocations: 2.386 MB / 0.865 GB, free: 1.891 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4892, allocations: 0 / 0.865 GB, free: 1.891 MB / 0.5263 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.0002738/0.4895, allocations: 332.5 kB / 0.8654 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4895, allocations: 8.031 kB / 0.8654 GB, free: 1.516 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.4896, allocations: 8.438 kB / 0.8654 GB, free: 1.508 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.4897, allocations: 167.1 kB / 0.8655 GB, free: 1.305 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4897, allocations: 0.9688 kB / 0.8655 GB, free: 1.305 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4898, allocations: 3.938 kB / 0.8655 GB, free: 1.301 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.867e-05/0.4898, allocations: 12.59 kB / 0.8656 GB, free: 1.289 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/0.4899, allocations: 65.59 kB / 0.8656 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4899, allocations: 3.906 kB / 0.8656 GB, free: 1.207 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.49, allocations: 2.469 kB / 0.8656 GB, free: 1.207 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.49, allocations: 0 / 0.8656 GB, free: 1.207 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.4903, allocations: 233.5 kB / 0.8658 GB, free: 0.9414 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.4904, allocations: 43.62 kB / 0.8659 GB, free: 0.8906 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.4904, allocations: 24.75 kB / 0.8659 GB, free: 0.8633 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4904, allocations: 1.375 kB / 0.8659 GB, free: 0.8633 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.4905, allocations: 52.72 kB / 0.866 GB, free: 0.8008 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4905, allocations: 0 / 0.866 GB, free: 0.8008 MB / 0.5263 GB Notification: Performance of matching and sorting (n=4): time 0.0001495/0.4906, allocations: 53.69 kB / 0.866 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4907, allocations: 105.2 kB / 0.8661 GB, free: 0.6172 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.4908, allocations: 104.9 kB / 0.8662 GB, free: 0.5078 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4908, allocations: 26.3 kB / 0.8662 GB, free: 488 kB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.4908, allocations: 80.8 kB / 0.8663 GB, free: 404 kB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.4908, allocations: 11.75 kB / 0.8663 GB, free: 392 kB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4908, allocations: 0.5 kB / 0.8663 GB, free: 392 kB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.4909, allocations: 319.4 kB / 0.8666 GB, free: 64 kB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.4909, allocations: 12.77 kB / 0.8666 GB, free: 52 kB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.4909, allocations: 27.61 kB / 0.8667 GB, free: 16 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.491, allocations: 17 kB / 0.8667 GB, free: 0 / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.491, allocations: 0 / 0.8667 GB, free: 0 / 0.5263 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001142/0.4911, allocations: 63.41 kB / 0.8667 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4911, allocations: 4 kB / 0.8667 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4911, allocations: 0 / 0.8667 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4912, allocations: 0 / 0.8667 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.4912, allocations: 15.92 kB / 0.8668 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4912, allocations: 4.594 kB / 0.8668 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4914, allocations: 9.469 kB / 0.8668 GB, free: 15.9 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.4914, allocations: 5.172 kB / 0.8668 GB, free: 15.9 MB / 0.5419 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 7.853e-05/0.4915, allocations: 108.9 kB / 0.8669 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.4915, allocations: 0.5 kB / 0.8669 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.4915, allocations: 8.219 kB / 0.8669 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4915, allocations: 0 / 0.8669 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4915, allocations: 0.6875 kB / 0.8669 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4915, allocations: 0 / 0.8669 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.4917, allocations: 146.7 kB / 0.867 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4917, allocations: 5.062 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.4917, allocations: 3.984 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4917, allocations: 0 / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4917, allocations: 4.594 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4917, allocations: 0 / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4917, allocations: 0.7188 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001101/0.4918, allocations: 82.34 kB / 0.8671 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.4919, allocations: 85.09 kB / 0.8672 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4919, allocations: 5.281 kB / 0.8672 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4921, allocations: 17.86 kB / 0.8672 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.4921, allocations: 7.984 kB / 0.8672 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4921, allocations: 0.6875 kB / 0.8672 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.623e-05/0.4922, allocations: 83.84 kB / 0.8673 GB, free: 15.28 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001916/0.4924, allocations: 13.31 kB / 0.8673 GB, free: 15.27 MB / 0.5419 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.0001412/0.4925, allocations: 100.2 kB / 0.8674 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.4926, allocations: 28.23 kB / 0.8675 GB, free: 15.13 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4926, allocations: 2.719 kB / 0.8675 GB, free: 15.13 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.4927, allocations: 19.88 kB / 0.8675 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.4928, allocations: 4 kB / 0.8675 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.493, allocations: 64.66 kB / 0.8675 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.4933, allocations: 0.7001 MB / 0.8682 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.4933, allocations: 0.6562 kB / 0.8682 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of Templates: time 0.002583/0.4959, allocations: 0.7802 MB / 0.869 GB, free: 13.55 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)