Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [: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/BuildSysPro 3.5.0/package.mo): time 0.6959/0.6959, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 185.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.17 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.1e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.6364, allocations: 105.1 MB / 0.7236 GB, free: 7.344 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.6367, allocations: 87.94 kB / 0.7237 GB, free: 7.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02193/0.6587, allocations: 7.93 MB / 0.7314 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.6587, allocations: 4 kB / 0.7314 GB, free: 15.34 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008385/0.6596, allocations: 0.5172 MB / 0.7319 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6596, allocations: 8.031 kB / 0.7319 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.6597, allocations: 27.62 kB / 0.7319 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.6601, allocations: 269.5 kB / 0.7322 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.6601, allocations: 12 kB / 0.7322 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.6602, allocations: 11.98 kB / 0.7322 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009531/0.6611, allocations: 0.7334 MB / 0.7329 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.6615, allocations: 186.9 kB / 0.7331 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6615, allocations: 3.938 kB / 0.7331 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.6615, allocations: 0 / 0.7331 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.6615, allocations: 4 kB / 0.7331 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.6625, allocations: 0.5593 MB / 0.7337 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.663, allocations: 295.6 kB / 0.734 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.6632, allocations: 104.9 kB / 0.7341 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.6639, allocations: 465.4 kB / 0.7345 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.6642, allocations: 167.5 kB / 0.7347 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.6642, allocations: 0 / 0.7347 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0007793/0.665, allocations: 305 kB / 0.7349 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.6651, allocations: 85.11 kB / 0.735 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.6654, allocations: 264.1 kB / 0.7353 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.6654, allocations: 25.7 kB / 0.7353 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.6655, allocations: 100.8 kB / 0.7354 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6656, allocations: 122.1 kB / 0.7355 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6656, allocations: 0 / 0.7355 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6658, allocations: 338.8 kB / 0.7358 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.6659, allocations: 75.98 kB / 0.7359 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.6661, allocations: 117.7 kB / 0.736 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.6665, allocations: 139.6 kB / 0.7362 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6665, allocations: 0 / 0.7362 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006289/0.6671, allocations: 325.3 kB / 0.7365 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6672, allocations: 4 kB / 0.7365 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6672, allocations: 0 / 0.7365 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6672, allocations: 4 kB / 0.7365 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.6674, allocations: 59.91 kB / 0.7365 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6674, allocations: 8.031 kB / 0.7365 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.6675, allocations: 15.84 kB / 0.7366 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.6676, allocations: 19.89 kB / 0.7366 GB, free: 9.719 MB / 0.4948 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.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001072/0.6677, allocations: 108.9 kB / 0.7367 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.6677, allocations: 23.72 kB / 0.7367 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6688, allocations: 444.3 kB / 0.7371 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6688, allocations: 4 kB / 0.7371 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6688, allocations: 0 / 0.7371 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6688, allocations: 3.984 kB / 0.7371 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.6692, allocations: 313.6 kB / 0.7374 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6692, allocations: 3.938 kB / 0.7374 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.6694, allocations: 63.97 kB / 0.7375 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6695, allocations: 0 / 0.7375 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.6695, allocations: 8 kB / 0.7375 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6695, allocations: 7.938 kB / 0.7375 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6696, allocations: 0 / 0.7375 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000746/0.6703, allocations: 350 kB / 0.7378 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.6706, allocations: 160.6 kB / 0.738 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.6707, allocations: 11.97 kB / 0.738 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.6708, allocations: 4 kB / 0.738 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.6708, allocations: 19.97 kB / 0.738 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.6709, allocations: 15.98 kB / 0.738 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002704/0.6712, allocations: 212.5 kB / 0.7383 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004191/0.6716, allocations: 71.94 kB / 0.7383 GB, free: 7.844 MB / 0.4948 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.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.001129/0.6727, allocations: 342.2 kB / 0.7386 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.6732, allocations: 227.6 kB / 0.7389 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6732, allocations: 0 / 0.7389 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.6735, allocations: 127.9 kB / 0.739 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.6739, allocations: 24.33 kB / 0.739 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.6749, allocations: 435.9 kB / 0.7394 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/0.6758, allocations: 0.823 MB / 0.7402 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.6758, allocations: 0 / 0.7402 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of Templates: time 0.008255/0.684, allocations: 3.849 MB / 0.744 GB, free: 2.047 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)