Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008587/0.008587, allocations: 100.2 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.001624/0.001624, allocations: 193.1 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.591/1.591, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003393/0.003393, allocations: 286.3 kB / 290.9 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 94.8 kB / 0.5951 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.253, allocations: 86.99 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.01129/0.2643, allocations: 4.421 MB / 0.6844 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 1.071/1.335, allocations: 148.3 MB / 0.8292 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/1.337, allocations: 15.53 kB / 0.8293 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009418/1.338, allocations: 136.2 kB / 0.8294 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/1.34, allocations: 431.5 kB / 0.8298 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/1.343, allocations: 0.7449 MB / 0.8305 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002293/1.346, allocations: 1.24 MB / 0.8317 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/1.347, allocations: 0.6854 MB / 0.8324 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/1.348, allocations: 437.8 kB / 0.8328 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/1.349, allocations: 0.4967 MB / 0.8333 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/1.35, allocations: 63.28 kB / 0.8334 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/1.351, allocations: 432.7 kB / 0.8338 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/1.352, allocations: 253.5 kB / 0.834 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008644/1.353, allocations: 0.5252 MB / 0.8345 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/1.355, allocations: 1.254 MB / 0.8358 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.355, allocations: 1.156 kB / 0.8358 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/1.355, allocations: 0 / 0.8358 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.002e-05/1.355, allocations: 0 / 0.8358 GB, free: 15.96 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.004167/1.359, allocations: 1.482 MB / 0.8372 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/1.359, allocations: 8.812 kB / 0.8372 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.361, allocations: 216.6 kB / 0.8374 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.362, allocations: 0.766 MB / 0.8382 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/1.362, allocations: 74.75 kB / 0.8382 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/1.363, allocations: 91.84 kB / 0.8383 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/1.365, allocations: 1.019 MB / 0.8393 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.365, allocations: 0 / 0.8393 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.365, allocations: 40.62 kB / 0.8394 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/1.365, allocations: 27.31 kB / 0.8394 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/1.368, allocations: 1.173 MB / 0.8405 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/1.375, allocations: 2.701 MB / 0.8432 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/1.377, allocations: 0.9047 MB / 0.8441 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/1.378, allocations: 325.1 kB / 0.8444 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.379, allocations: 470.4 kB / 0.8448 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/1.38, allocations: 0.4955 MB / 0.8453 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 4.598e-06/1.38, allocations: 3.75 kB / 0.8453 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.004356/1.385, allocations: 1.221 MB / 0.8465 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/1.385, allocations: 193.4 kB / 0.8467 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.386, allocations: 0.6515 MB / 0.8473 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.386, allocations: 44.55 kB / 0.8474 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/1.387, allocations: 424.7 kB / 0.8478 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.388, allocations: 266.8 kB / 0.848 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/1.388, allocations: 162.2 kB / 0.8482 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000358/1.388, allocations: 387.2 kB / 0.8485 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/1.389, allocations: 275.6 kB / 0.8488 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/1.39, allocations: 374.1 kB / 0.8492 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.391, allocations: 0.6212 MB / 0.8498 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.391, allocations: 0 / 0.8498 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002784/1.394, allocations: 0.8729 MB / 0.8506 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.394, allocations: 10.62 kB / 0.8506 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.394, allocations: 3.094 kB / 0.8506 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/1.395, allocations: 83.61 kB / 0.8507 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/1.396, allocations: 166.4 kB / 0.8509 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/1.399, allocations: 1.523 MB / 0.8524 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.4, allocations: 102.3 kB / 0.8525 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.4, allocations: 35.12 kB / 0.8525 GB, free: 5.805 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 (96): * Single equations (assignments): 95 * 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.0008549/1.401, allocations: 273.4 kB / 0.8527 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/1.401, allocations: 86.69 kB / 0.8528 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/1.404, allocations: 1.087 MB / 0.8539 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.404, allocations: 9.656 kB / 0.8539 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.404, allocations: 4.812 kB / 0.8539 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.405, allocations: 6.594 kB / 0.8539 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004924/1.409, allocations: 2.027 MB / 0.8559 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.409, allocations: 0 / 0.8559 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/1.41, allocations: 148.8 kB / 0.856 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005988/1.411, allocations: 81.62 kB / 0.8561 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.411, allocations: 33.75 kB / 0.8561 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/1.414, allocations: 1.538 MB / 0.8576 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.414, allocations: 3 kB / 0.8576 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/1.416, allocations: 1.022 MB / 0.8586 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/1.417, allocations: 275.9 kB / 0.8589 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/1.417, allocations: 25.03 kB / 0.8589 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/1.418, allocations: 64.27 kB / 0.859 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.418, allocations: 70.05 kB / 0.8591 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.419, allocations: 37.02 kB / 0.8591 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008923/1.419, allocations: 467.8 kB / 0.8595 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/1.419, allocations: 0 / 0.8595 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001855/1.421, allocations: 339.7 kB / 0.8599 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 (93): * Single equations (assignments): 87 * 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.00242/1.424, allocations: 0.6348 MB / 0.8605 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002648/1.426, allocations: 0.8446 MB / 0.8613 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.426, allocations: 6.828 kB / 0.8613 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.428, allocations: 0.5326 MB / 0.8618 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.43, allocations: 262.4 kB / 0.8621 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/1.436, allocations: 2.34 MB / 0.8644 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.438, allocations: 1.044 MB / 0.8654 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/1.438, allocations: 117.2 kB / 0.8655 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.362e-06/1.438, allocations: 2.781 kB / 0.8655 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.04472/1.483, allocations: 19.31 MB / 0.8844 GB, free: 13.71 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearnessCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1