Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [: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.7421/0.7421, allocations: 141.8 MB / 149.1 MB, free: 12.41 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 184.5 kB / 182 MB, free: 9.133 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 436 MB, free: 1.477 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.0008987/0.0008987, allocations: 100.4 kB / 0.507 GB, free: 10.33 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 268.7 kB / 0.5884 GB, free: 7.184 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.704e-06, allocations: 0 / 0.6759 GB, free: 13.54 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3682, allocations: 82.78 MB / 0.7567 GB, free: 138.4 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.473, allocations: 108.2 MB / 0.8624 GB, free: 30.07 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4733, allocations: 87.7 kB / 0.8624 GB, free: 29.99 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.01086/0.4841, allocations: 4.506 MB / 0.8668 GB, free: 25.5 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4842, allocations: 4.656 kB / 0.8668 GB, free: 25.49 MB / 0.5575 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.0002892/0.4845, allocations: 351 kB / 0.8672 GB, free: 25.11 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4846, allocations: 8.906 kB / 0.8672 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.4846, allocations: 83.27 kB / 0.8673 GB, free: 25.02 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4847, allocations: 242.8 kB / 0.8675 GB, free: 24.74 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4848, allocations: 151.1 kB / 0.8676 GB, free: 24.59 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.4848, allocations: 155.4 kB / 0.8678 GB, free: 24.44 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.397e-05/0.4848, allocations: 151.9 kB / 0.8679 GB, free: 24.29 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.911e-05/0.4849, allocations: 105.6 kB / 0.868 GB, free: 24.18 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4849, allocations: 75.28 kB / 0.8681 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.4849, allocations: 151.4 kB / 0.8683 GB, free: 23.96 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.485, allocations: 155.5 kB / 0.8684 GB, free: 23.8 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.4852, allocations: 436 kB / 0.8688 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.4852, allocations: 174.4 kB / 0.869 GB, free: 23.16 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.4853, allocations: 81.83 kB / 0.8691 GB, free: 23.08 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4853, allocations: 75.28 kB / 0.8691 GB, free: 23.01 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4853, allocations: 114.4 kB / 0.8692 GB, free: 22.89 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4853, allocations: 0 / 0.8692 GB, free: 22.89 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 7.413e-05/0.4854, allocations: 30.22 kB / 0.8693 GB, free: 22.85 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.4855, allocations: 52.06 kB / 0.8693 GB, free: 22.79 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.4855, allocations: 101.5 kB / 0.8694 GB, free: 22.68 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.567e-06/0.4856, allocations: 25.7 kB / 0.8694 GB, free: 22.65 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.4856, allocations: 80.98 kB / 0.8695 GB, free: 22.57 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-06/0.4856, allocations: 1.25 kB / 0.8695 GB, free: 22.57 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.4856, allocations: 3.938 kB / 0.8695 GB, free: 22.57 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.4857, allocations: 322.8 kB / 0.8698 GB, free: 22.24 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.4857, allocations: 0.5625 kB / 0.8698 GB, free: 22.24 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.4857, allocations: 8.531 kB / 0.8698 GB, free: 22.23 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.4857, allocations: 4.531 kB / 0.8698 GB, free: 22.23 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4858, allocations: 0.875 kB / 0.8698 GB, free: 22.23 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.4859, allocations: 49.56 kB / 0.8699 GB, free: 22.18 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4859, allocations: 4.594 kB / 0.8699 GB, free: 22.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4859, allocations: 2.312 kB / 0.8699 GB, free: 22.17 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4859, allocations: 0 / 0.8699 GB, free: 22.17 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.486, allocations: 0 / 0.8699 GB, free: 22.17 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.486, allocations: 4.969 kB / 0.8699 GB, free: 22.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.486, allocations: 4 kB / 0.8699 GB, free: 22.16 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4861, allocations: 4.797 kB / 0.8699 GB, free: 22.16 MB / 0.5575 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 8.009e-05/0.4861, allocations: 181 kB / 0.8701 GB, free: 21.98 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.4862, allocations: 110.5 kB / 0.8702 GB, free: 21.86 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.4862, allocations: 108.4 kB / 0.8703 GB, free: 21.75 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.4863, allocations: 176.3 kB / 0.8705 GB, free: 21.57 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.903e-05/0.4864, allocations: 185.6 kB / 0.8706 GB, free: 21.38 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.4864, allocations: 181.4 kB / 0.8708 GB, free: 21.2 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4866, allocations: 381.8 kB / 0.8712 GB, free: 20.78 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/0.4866, allocations: 106.6 kB / 0.8713 GB, free: 20.67 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.4866, allocations: 104.9 kB / 0.8714 GB, free: 20.56 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.959e-05/0.4867, allocations: 177.5 kB / 0.8715 GB, free: 20.38 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.4867, allocations: 180.3 kB / 0.8717 GB, free: 20.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.588e-05/0.4867, allocations: 183.1 kB / 0.8719 GB, free: 20.01 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-05/0.4868, allocations: 184.2 kB / 0.8721 GB, free: 19.82 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.422e-05/0.4869, allocations: 309.6 kB / 0.8724 GB, free: 19.5 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4869, allocations: 186.6 kB / 0.8725 GB, free: 19.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.487, allocations: 185 kB / 0.8727 GB, free: 19.11 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.4871, allocations: 105.7 kB / 0.8728 GB, free: 19 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.4871, allocations: 177.2 kB / 0.873 GB, free: 18.82 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4871, allocations: 101.7 kB / 0.8731 GB, free: 18.71 MB / 0.5575 GB Notification: Performance of sort global known variables: time 3.209e-05/0.4872, allocations: 83.84 kB / 0.8732 GB, free: 18.63 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002492/0.4874, allocations: 8.5 kB / 0.8732 GB, free: 18.62 MB / 0.5575 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.0002391/0.4877, allocations: 181.3 kB / 0.8733 GB, free: 18.44 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.4878, allocations: 16.56 kB / 0.8734 GB, free: 18.42 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4878, allocations: 0 / 0.8734 GB, free: 18.42 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.4878, allocations: 4.75 kB / 0.8734 GB, free: 18.42 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.488, allocations: 0.5199 MB / 0.8739 GB, free: 17.89 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.4882, allocations: 124 kB / 0.874 GB, free: 17.75 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.4884, allocations: 0.688 MB / 0.8747 GB, free: 17.04 MB / 0.5575 GB Notification: Performance of SimCode: time 2.1e-07/0.4884, allocations: 0 / 0.8747 GB, free: 17.04 MB / 0.5575 GB Notification: Performance of Templates: time 0.002232/0.4906, allocations: 408.8 kB / 0.8751 GB, free: 16.68 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)