Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [: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.6695/0.6695, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001101/0.001101, allocations: 188 kB / 164.4 MB, free: 6.879 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.514/1.514, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.0009362/0.0009362, allocations: 93.27 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.063e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1759, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.469/0.6449, allocations: 105.5 MB / 0.724 GB, free: 6.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6453, allocations: 83.95 kB / 0.724 GB, free: 6.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02211/0.6674, allocations: 7.988 MB / 0.7318 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.6675, allocations: 4 kB / 0.7319 GB, free: 14.81 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008414/0.6684, allocations: 0.5065 MB / 0.7323 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6684, allocations: 8.031 kB / 0.7324 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.6686, allocations: 31.61 kB / 0.7324 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.669, allocations: 258.6 kB / 0.7326 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.669, allocations: 8 kB / 0.7326 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.669, allocations: 8 kB / 0.7326 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009962/0.67, allocations: 0.7295 MB / 0.7334 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.6704, allocations: 179 kB / 0.7335 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6704, allocations: 3.938 kB / 0.7335 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.6704, allocations: 0 / 0.7335 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.6704, allocations: 4 kB / 0.7335 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.6713, allocations: 0.5323 MB / 0.7341 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.6718, allocations: 280.1 kB / 0.7343 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.6719, allocations: 93.41 kB / 0.7344 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.6726, allocations: 465.7 kB / 0.7349 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.6729, allocations: 151.6 kB / 0.735 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.6729, allocations: 0 / 0.735 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0006351/0.6735, allocations: 280.9 kB / 0.7353 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.6736, allocations: 81.11 kB / 0.7353 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.6739, allocations: 254 kB / 0.7356 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.6739, allocations: 33.64 kB / 0.7356 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.674, allocations: 100.8 kB / 0.7357 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.6741, allocations: 110.3 kB / 0.7358 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6741, allocations: 0 / 0.7358 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6743, allocations: 330.8 kB / 0.7361 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.6744, allocations: 75.97 kB / 0.7362 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6745, allocations: 97.69 kB / 0.7363 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.6748, allocations: 128.6 kB / 0.7364 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6748, allocations: 0 / 0.7364 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005015/0.6753, allocations: 284.9 kB / 0.7367 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6754, allocations: 4 kB / 0.7367 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6754, allocations: 0 / 0.7367 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6754, allocations: 4 kB / 0.7367 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.6756, allocations: 63.91 kB / 0.7368 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.6757, allocations: 0 / 0.7368 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.6758, allocations: 15.83 kB / 0.7368 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.6758, allocations: 16 kB / 0.7368 GB, free: 9.426 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 (36): * Single equations (assignments): 36 * 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 9.373e-05/0.6759, allocations: 112.8 kB / 0.7369 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.6759, allocations: 23.72 kB / 0.7369 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/0.6767, allocations: 396.4 kB / 0.7373 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.6767, allocations: 4 kB / 0.7373 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6768, allocations: 3.906 kB / 0.7373 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6768, allocations: 7.984 kB / 0.7373 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.6771, allocations: 289.9 kB / 0.7376 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6771, allocations: 3.938 kB / 0.7376 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6773, allocations: 63.91 kB / 0.7377 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6773, allocations: 0 / 0.7377 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6773, allocations: 11.91 kB / 0.7377 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6773, allocations: 7.984 kB / 0.7377 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6773, allocations: 0 / 0.7377 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005587/0.6779, allocations: 318.3 kB / 0.738 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.6781, allocations: 160.6 kB / 0.7381 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.6781, allocations: 0 / 0.7381 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.6782, allocations: 4 kB / 0.7381 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.6783, allocations: 23.83 kB / 0.7382 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6783, allocations: 15.98 kB / 0.7382 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001898/0.6785, allocations: 207.2 kB / 0.7384 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003339/0.6789, allocations: 79.88 kB / 0.7385 GB, free: 7.637 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 (35): * Single equations (assignments): 34 * 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.0007299/0.6796, allocations: 333 kB / 0.7388 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.6799, allocations: 207.8 kB / 0.739 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.68, allocations: 0 / 0.739 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.6801, allocations: 119.9 kB / 0.7391 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6804, allocations: 28.42 kB / 0.7391 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.6812, allocations: 404.8 kB / 0.7395 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.6816, allocations: 0.8155 MB / 0.7403 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/0.6817, allocations: 0 / 0.7403 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of Templates: time 0.007269/0.6889, allocations: 3.505 MB / 0.7437 GB, free: 2.258 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)