Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") [: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.6776/0.6776, 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.001109/0.001109, allocations: 185.3 kB / 164.4 MB, free: 6.891 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.578/1.578, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0009881/0.0009881, allocations: 94.23 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.727e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5912, allocations: 105.3 MB / 0.7238 GB, free: 7.023 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5915, allocations: 87.94 kB / 0.7239 GB, free: 6.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02273/0.6142, allocations: 7.855 MB / 0.7315 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.6143, allocations: 4 kB / 0.7315 GB, free: 15.1 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.000812/0.6151, allocations: 0.5065 MB / 0.732 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6152, allocations: 11.97 kB / 0.7321 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.6157, allocations: 79.53 kB / 0.7321 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.6161, allocations: 262.6 kB / 0.7324 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6162, allocations: 4 kB / 0.7324 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.6162, allocations: 16 kB / 0.7324 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009936/0.6172, allocations: 0.7412 MB / 0.7331 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.6176, allocations: 202.8 kB / 0.7333 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6176, allocations: 0 / 0.7333 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.6177, allocations: 7.891 kB / 0.7333 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6177, allocations: 4 kB / 0.7333 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.6188, allocations: 0.5674 MB / 0.7339 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.6193, allocations: 303.8 kB / 0.7342 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.6194, allocations: 93.41 kB / 0.7343 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.6195, allocations: 36.22 kB / 0.7343 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.6198, allocations: 155.6 kB / 0.7344 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.6198, allocations: 0 / 0.7344 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0005369/0.6203, allocations: 272.8 kB / 0.7347 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.6204, allocations: 89.05 kB / 0.7348 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.6207, allocations: 252.3 kB / 0.735 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.6207, allocations: 25.7 kB / 0.7351 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.6208, allocations: 116.7 kB / 0.7352 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.6209, allocations: 110.3 kB / 0.7353 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.6209, allocations: 0 / 0.7353 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6211, allocations: 338.8 kB / 0.7356 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6212, allocations: 79.97 kB / 0.7357 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.6214, allocations: 101.7 kB / 0.7358 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.6216, allocations: 104.7 kB / 0.7359 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6216, allocations: 0 / 0.7359 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004475/0.622, allocations: 277.1 kB / 0.7361 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6221, allocations: 4 kB / 0.7361 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6221, allocations: 0 / 0.7361 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6221, allocations: 4 kB / 0.7361 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.6224, allocations: 67.89 kB / 0.7362 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6224, allocations: 7.906 kB / 0.7362 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.6226, allocations: 19.84 kB / 0.7362 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.6226, allocations: 15.98 kB / 0.7362 GB, free: 10.05 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.timCon.tStart,timCon.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 0.0001146/0.6228, allocations: 108.9 kB / 0.7363 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.6228, allocations: 31.56 kB / 0.7364 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.6236, allocations: 396.4 kB / 0.7368 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6236, allocations: 4 kB / 0.7368 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6236, allocations: 0 / 0.7368 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.6236, allocations: 3.984 kB / 0.7368 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.624, allocations: 305.8 kB / 0.7371 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.624, allocations: 0 / 0.7371 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.6243, allocations: 67.91 kB / 0.7371 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6243, allocations: 0 / 0.7371 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6244, allocations: 11.98 kB / 0.7371 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6244, allocations: 4 kB / 0.7371 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6244, allocations: 0 / 0.7371 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004753/0.6249, allocations: 310.3 kB / 0.7374 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.625, allocations: 152.7 kB / 0.7376 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.6251, allocations: 3.906 kB / 0.7376 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.6253, allocations: 11.98 kB / 0.7376 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.6253, allocations: 27.83 kB / 0.7376 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.6254, allocations: 12 kB / 0.7376 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001921/0.6256, allocations: 208.5 kB / 0.7378 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003177/0.6259, allocations: 59.94 kB / 0.7379 GB, free: 8.285 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,timCon.tStart) * Number of discrete states: 1 (timCon.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.0006981/0.6266, allocations: 323.4 kB / 0.7382 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.627, allocations: 219.7 kB / 0.7384 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.627, allocations: 0 / 0.7384 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.6272, allocations: 131.9 kB / 0.7385 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.6274, allocations: 20.44 kB / 0.7385 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.6283, allocations: 416.7 kB / 0.7389 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.6289, allocations: 0.8208 MB / 0.7397 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/0.6289, allocations: 0 / 0.7397 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of Templates: time 0.008524/0.6374, allocations: 3.542 MB / 0.7432 GB, free: 2.844 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)