Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [: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.7003/0.7003, allocations: 141.8 MB / 149.1 MB, free: 4.543 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.001069/0.001069, allocations: 185.4 kB / 181.9 MB, free: 200 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.288/1.288, 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.0009753/0.0009754, allocations: 95.47 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.001759/0.001759, allocations: 271.2 kB / 0.5884 GB, free: 12.37 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.033e-06, allocations: 0 / 0.6759 GB, free: 2.734 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3787, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4966, allocations: 108 MB / 0.8622 GB, free: 4.777 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4969, allocations: 83.77 kB / 0.8623 GB, free: 4.699 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.008888/0.5058, allocations: 3.278 MB / 0.8655 GB, free: 1.449 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5058, allocations: 1.688 kB / 0.8655 GB, free: 1.449 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002594/0.5061, allocations: 346.4 kB / 0.8658 GB, free: 1.066 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5061, allocations: 11.97 kB / 0.8658 GB, free: 1.055 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.5062, allocations: 75.88 kB / 0.8659 GB, free: 0.9805 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.5063, allocations: 247.9 kB / 0.8661 GB, free: 0.6992 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5063, allocations: 155.9 kB / 0.8663 GB, free: 0.5469 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.5063, allocations: 150.6 kB / 0.8664 GB, free: 408 kB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.893e-05/0.5064, allocations: 155.3 kB / 0.8666 GB, free: 252 kB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.138e-05/0.5064, allocations: 101.6 kB / 0.8667 GB, free: 144 kB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5064, allocations: 79.78 kB / 0.8668 GB, free: 64 kB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.5065, allocations: 151.9 kB / 0.8669 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.5066, allocations: 155.2 kB / 0.867 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.5068, allocations: 431.8 kB / 0.8675 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.5069, allocations: 174.8 kB / 0.8676 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.507, allocations: 84.08 kB / 0.8677 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.507, allocations: 76.62 kB / 0.8678 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.711e-05/0.5071, allocations: 107.1 kB / 0.8679 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.5071, allocations: 1.125 kB / 0.8679 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 8.46e-05/0.5072, allocations: 33.69 kB / 0.8679 GB, free: 14.81 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5073, allocations: 51.41 kB / 0.868 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5074, allocations: 101.5 kB / 0.8681 GB, free: 14.64 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5074, allocations: 26.23 kB / 0.8681 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.5075, allocations: 88.92 kB / 0.8682 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.5075, allocations: 4 kB / 0.8682 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.5075, allocations: 2.312 kB / 0.8682 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5076, allocations: 314.8 kB / 0.8685 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.5076, allocations: 4.562 kB / 0.8685 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.5076, allocations: 4.562 kB / 0.8685 GB, free: 14.19 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.5077, allocations: 8.75 kB / 0.8685 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5077, allocations: 0 / 0.8685 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.5078, allocations: 42.28 kB / 0.8685 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5078, allocations: 4.75 kB / 0.8685 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5078, allocations: 0 / 0.8685 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5079, allocations: 4.656 kB / 0.8685 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.5079, allocations: 0 / 0.8685 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5079, allocations: 4.656 kB / 0.8685 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.5079, allocations: 0.5625 kB / 0.8685 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.508, allocations: 11.98 kB / 0.8686 GB, free: 14.11 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.852e-05/0.5081, allocations: 178.3 kB / 0.8687 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.5082, allocations: 105.8 kB / 0.8688 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.5082, allocations: 112.4 kB / 0.8689 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-05/0.5083, allocations: 177.4 kB / 0.8691 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.5084, allocations: 180.8 kB / 0.8693 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/0.5084, allocations: 181.2 kB / 0.8694 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.5087, allocations: 383.4 kB / 0.8698 GB, free: 12.73 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/0.5087, allocations: 105.5 kB / 0.8699 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.5088, allocations: 105.6 kB / 0.87 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.5088, allocations: 181 kB / 0.8702 GB, free: 12.33 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.5089, allocations: 176.8 kB / 0.8704 GB, free: 12.15 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.168e-05/0.509, allocations: 182.2 kB / 0.8705 GB, free: 11.97 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.821e-05/0.5091, allocations: 184.7 kB / 0.8707 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001366/0.5092, allocations: 305.7 kB / 0.871 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.5093, allocations: 190.7 kB / 0.8712 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.5094, allocations: 181 kB / 0.8714 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.5095, allocations: 105.5 kB / 0.8715 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.5096, allocations: 187.6 kB / 0.8716 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.5097, allocations: 105 kB / 0.8717 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.052e-05/0.5097, allocations: 84.12 kB / 0.8718 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002538/0.51, allocations: 7.938 kB / 0.8718 GB, free: 10.57 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002563/0.5102, allocations: 184.4 kB / 0.872 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.5104, allocations: 12.56 kB / 0.872 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5104, allocations: 0.7188 kB / 0.872 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.5104, allocations: 4 kB / 0.872 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.5107, allocations: 0.5178 MB / 0.8725 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.5109, allocations: 127.1 kB / 0.8726 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.5112, allocations: 0.6885 MB / 0.8733 GB, free: 8.984 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.5112, allocations: 0 / 0.8733 GB, free: 8.984 MB / 0.5419 GB Notification: Performance of Templates: time 0.002337/0.5136, allocations: 395 kB / 0.8737 GB, free: 8.641 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)