Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") [: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.7385/0.7385, allocations: 141.8 MB / 149.1 MB, free: 10.14 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.001197/0.001197, allocations: 186.8 kB / 182 MB, free: 7.082 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.347/1.347, allocations: 221.4 MB / 436 MB, free: 15.15 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 104.2 kB / 0.507 GB, free: 8.305 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 270.5 kB / 0.5885 GB, free: 5.094 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.926e-06/8.956e-06, allocations: 1.781 kB / 0.6759 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 82.77 MB / 0.7567 GB, free: 114.1 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.337/3.501, allocations: 1.69 GB / 2.447 GB, free: 85.17 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/3.502, allocations: 87.77 kB / 2.447 GB, free: 85.13 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.07348/3.575, allocations: 29.83 MB / 2.476 GB, free: 60.41 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001063/3.575, allocations: 19.94 kB / 2.476 GB, free: 60.39 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002133/3.577, allocations: 0.9773 MB / 2.477 GB, free: 59.42 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/3.577, allocations: 8.031 kB / 2.477 GB, free: 59.41 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/3.578, allocations: 102.7 kB / 2.477 GB, free: 59.32 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/3.579, allocations: 0.5716 MB / 2.478 GB, free: 58.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/3.579, allocations: 20 kB / 2.478 GB, free: 58.78 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/3.579, allocations: 36 kB / 2.478 GB, free: 58.74 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001342/3.581, allocations: 0.8726 MB / 2.479 GB, free: 58.05 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/3.582, allocations: 0.5937 MB / 2.479 GB, free: 57.55 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/3.582, allocations: 7.844 kB / 2.479 GB, free: 57.54 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/3.582, allocations: 4 kB / 2.479 GB, free: 57.54 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/3.582, allocations: 16 kB / 2.479 GB, free: 57.52 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/3.585, allocations: 2.246 MB / 2.481 GB, free: 55.61 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/3.586, allocations: 0.556 MB / 2.482 GB, free: 55.21 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/3.586, allocations: 204 kB / 2.482 GB, free: 55.08 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/3.586, allocations: 32.34 kB / 2.482 GB, free: 55.05 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/3.587, allocations: 317.9 kB / 2.482 GB, free: 54.8 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/3.587, allocations: 0 / 2.482 GB, free: 54.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=61): time 0.0009018/3.587, allocations: 494.2 kB / 2.483 GB, free: 54.43 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/3.588, allocations: 295 kB / 2.483 GB, free: 54.07 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/3.588, allocations: 0.4973 MB / 2.484 GB, free: 53.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/3.588, allocations: 25.7 kB / 2.484 GB, free: 53.67 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/3.588, allocations: 255.3 kB / 2.484 GB, free: 53.44 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/3.589, allocations: 196.2 kB / 2.484 GB, free: 53.27 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/3.589, allocations: 4.031 kB / 2.484 GB, free: 53.27 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/3.589, allocations: 368 kB / 2.484 GB, free: 52.92 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/3.589, allocations: 154 kB / 2.485 GB, free: 52.83 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/3.589, allocations: 272.3 kB / 2.485 GB, free: 52.61 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/3.59, allocations: 206.9 kB / 2.485 GB, free: 52.47 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/3.59, allocations: 0 / 2.485 GB, free: 52.47 MB / 0.7138 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008288/3.59, allocations: 0.5033 MB / 2.486 GB, free: 52.08 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/3.59, allocations: 12.06 kB / 2.486 GB, free: 52.07 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/3.59, allocations: 0 / 2.486 GB, free: 52.07 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/3.59, allocations: 7.906 kB / 2.486 GB, free: 52.06 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/3.591, allocations: 127.2 kB / 2.486 GB, free: 51.95 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/3.591, allocations: 7.938 kB / 2.486 GB, free: 51.94 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/3.591, allocations: 55.56 kB / 2.486 GB, free: 51.88 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/3.591, allocations: 22.98 kB / 2.486 GB, free: 51.86 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001334/3.592, allocations: 116.9 kB / 2.486 GB, free: 51.74 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/3.592, allocations: 67.16 kB / 2.486 GB, free: 51.68 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/3.593, allocations: 0.7269 MB / 2.487 GB, free: 51.11 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/3.593, allocations: 11.94 kB / 2.487 GB, free: 51.1 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/3.593, allocations: 0 / 2.487 GB, free: 51.1 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/3.593, allocations: 3.984 kB / 2.487 GB, free: 51.09 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/3.594, allocations: 0.845 MB / 2.488 GB, free: 50.29 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/3.594, allocations: 0 / 2.488 GB, free: 50.29 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/3.595, allocations: 119.8 kB / 2.488 GB, free: 50.17 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/3.595, allocations: 4 kB / 2.488 GB, free: 50.16 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/3.595, allocations: 20.02 kB / 2.488 GB, free: 50.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/3.595, allocations: 0 / 2.488 GB, free: 50.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/3.595, allocations: 4 kB / 2.488 GB, free: 50.14 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007495/3.595, allocations: 0.5875 MB / 2.488 GB, free: 49.53 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/3.596, allocations: 260 kB / 2.488 GB, free: 49.25 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/3.596, allocations: 7.938 kB / 2.488 GB, free: 49.25 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/3.596, allocations: 47.95 kB / 2.489 GB, free: 49.2 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/3.596, allocations: 52.48 kB / 2.489 GB, free: 49.15 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/3.597, allocations: 27.98 kB / 2.489 GB, free: 49.12 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.000432/3.597, allocations: 398.9 kB / 2.489 GB, free: 48.73 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.0009211/3.598, allocations: 251.3 kB / 2.489 GB, free: 48.49 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001251/3.599, allocations: 0.5108 MB / 2.49 GB, free: 48.08 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0006724/3.6, allocations: 442.3 kB / 2.49 GB, free: 47.65 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/3.6, allocations: 4 kB / 2.49 GB, free: 47.65 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/3.6, allocations: 266.3 kB / 2.49 GB, free: 47.38 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/3.601, allocations: 197.5 kB / 2.491 GB, free: 47.2 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/3.603, allocations: 0.9861 MB / 2.492 GB, free: 46.18 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/3.604, allocations: 1.072 MB / 2.493 GB, free: 45.08 MB / 0.7138 GB Notification: Performance of SimCode: time 7.31e-07/3.604, allocations: 0 / 2.493 GB, free: 45.08 MB / 0.7138 GB Notification: Performance of Templates: time 0.01866/3.622, allocations: 11.09 MB / 2.503 GB, free: 34.12 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)