Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01064/0.01064, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001792, allocations: 196.5 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 271 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.111/1.111, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 91.12 kB / 0.5951 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2646, allocations: 86.98 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007155/0.2718, allocations: 4.421 MB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7887/1.061, allocations: 148.3 MB / 0.8292 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/1.062, allocations: 15.62 kB / 0.8292 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/1.063, allocations: 139.5 kB / 0.8293 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/1.065, allocations: 428.9 kB / 0.8297 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/1.067, allocations: 0.7372 MB / 0.8305 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001672/1.069, allocations: 1.244 MB / 0.8317 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/1.07, allocations: 0.6947 MB / 0.8324 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007459/1.07, allocations: 447 kB / 0.8328 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006922/1.071, allocations: 0.5035 MB / 0.8333 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/1.071, allocations: 66.84 kB / 0.8333 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/1.073, allocations: 405.9 kB / 0.8337 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/1.073, allocations: 261.1 kB / 0.834 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006271/1.074, allocations: 0.5285 MB / 0.8345 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/1.075, allocations: 1.257 MB / 0.8357 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.075, allocations: 1.094 kB / 0.8357 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/1.075, allocations: 0 / 0.8357 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.916e-05/1.075, allocations: 0 / 0.8357 GB, free: 15.99 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003727/1.079, allocations: 1.495 MB / 0.8372 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.079, allocations: 10.16 kB / 0.8372 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/1.081, allocations: 304.6 kB / 0.8375 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.082, allocations: 0.7678 MB / 0.8382 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/1.083, allocations: 72.81 kB / 0.8383 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.083, allocations: 89.81 kB / 0.8384 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.085, allocations: 1.072 MB / 0.8394 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.085, allocations: 1.438 kB / 0.8394 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.085, allocations: 40.03 kB / 0.8395 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/1.085, allocations: 23.22 kB / 0.8395 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/1.088, allocations: 1.272 MB / 0.8407 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005645/1.094, allocations: 2.72 MB / 0.8434 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/1.097, allocations: 1.026 MB / 0.8444 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/1.097, allocations: 363.3 kB / 0.8447 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/1.098, allocations: 29.05 kB / 0.8448 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/1.099, allocations: 0.5635 MB / 0.8453 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.995e-06/1.099, allocations: 0 / 0.8453 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.004107/1.103, allocations: 1.381 MB / 0.8467 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.103, allocations: 189.7 kB / 0.8469 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.104, allocations: 0.634 MB / 0.8475 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/1.104, allocations: 49.17 kB / 0.8475 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/1.105, allocations: 422.6 kB / 0.8479 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/1.105, allocations: 278.8 kB / 0.8482 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.105, allocations: 168.9 kB / 0.8483 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.106, allocations: 384.3 kB / 0.8487 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/1.106, allocations: 322 kB / 0.849 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/1.107, allocations: 423.9 kB / 0.8494 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.109, allocations: 0.7065 MB / 0.8501 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.109, allocations: 1.156 kB / 0.8501 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002493/1.111, allocations: 0.9682 MB / 0.8511 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/1.111, allocations: 6.969 kB / 0.8511 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.111, allocations: 6.453 kB / 0.8511 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/1.112, allocations: 79.69 kB / 0.8512 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/1.113, allocations: 188.8 kB / 0.8513 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.115, allocations: 1.521 MB / 0.8528 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/1.116, allocations: 120.7 kB / 0.8529 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.116, allocations: 34.59 kB / 0.853 GB, free: 5.969 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006048/1.117, allocations: 275.8 kB / 0.8532 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/1.117, allocations: 84.89 kB / 0.8533 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/1.12, allocations: 1.201 MB / 0.8545 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.12, allocations: 13.41 kB / 0.8545 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.12, allocations: 7.766 kB / 0.8545 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.12, allocations: 3.984 kB / 0.8545 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/1.124, allocations: 2.148 MB / 0.8566 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.124, allocations: 0 / 0.8566 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/1.125, allocations: 174.6 kB / 0.8568 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/1.125, allocations: 86.23 kB / 0.8569 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/1.125, allocations: 25.67 kB / 0.8569 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.127, allocations: 1.54 MB / 0.8584 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.127, allocations: 3.938 kB / 0.8584 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/1.13, allocations: 1.118 MB / 0.8595 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/1.13, allocations: 284.7 kB / 0.8597 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.131, allocations: 28.61 kB / 0.8598 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007761/1.131, allocations: 81.05 kB / 0.8599 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.131, allocations: 69.8 kB / 0.8599 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/1.132, allocations: 40.88 kB / 0.86 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006646/1.132, allocations: 466.2 kB / 0.8604 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.723e-06/1.132, allocations: 0 / 0.8604 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001075/1.133, allocations: 334.5 kB / 0.8607 GB, free: 0.7305 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/1.135, allocations: 0.6132 MB / 0.8613 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.137, allocations: 0.9463 MB / 0.8622 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.137, allocations: 0 / 0.8622 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/1.138, allocations: 0.5722 MB / 0.8628 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.14, allocations: 268.5 kB / 0.8631 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/1.145, allocations: 2.407 MB / 0.8654 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/1.145, allocations: 1.048 MB / 0.8664 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.146, allocations: 124.1 kB / 0.8666 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/1.146, allocations: 0 / 0.8666 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.02706/1.173, allocations: 19.51 MB / 0.8856 GB, free: 12.56 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o] Error 1