Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008599/0.0008598, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 186.7 kB / 16.92 MB, free: 6.684 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 12.78 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.471, allocations: 81.57 MB / 0.5843 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005086/0.4762, allocations: 3.794 MB / 0.588 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1814/0.6576, allocations: 146.6 MB / 0.7312 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.6586, allocations: 15.94 kB / 0.7312 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.6591, allocations: 131 kB / 0.7313 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.6605, allocations: 400.7 kB / 0.7317 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.6624, allocations: 0.7145 MB / 0.7324 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6637, allocations: 1.11 MB / 0.7335 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.6646, allocations: 0.6503 MB / 0.7341 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.6651, allocations: 318.3 kB / 0.7344 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.6655, allocations: 346 kB / 0.7348 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.6656, allocations: 20 kB / 0.7348 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.6664, allocations: 391.6 kB / 0.7351 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.6666, allocations: 171.1 kB / 0.7353 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.667, allocations: 438.9 kB / 0.7357 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.668, allocations: 1.134 MB / 0.7368 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6681, allocations: 4 kB / 0.7368 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6681, allocations: 0 / 0.7368 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.6681, allocations: 0 / 0.7368 GB, free: 3.656 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001903/0.67, allocations: 1.174 MB / 0.738 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.67, allocations: 8.031 kB / 0.738 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.6711, allocations: 219.4 kB / 0.7382 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.6721, allocations: 0.7227 MB / 0.7389 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.6722, allocations: 69.94 kB / 0.739 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.6723, allocations: 88 kB / 0.7391 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.6738, allocations: 0.9574 MB / 0.74 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6739, allocations: 0 / 0.74 GB, free: 296 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.674, allocations: 39.98 kB / 0.74 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.674, allocations: 24 kB / 0.7401 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.6758, allocations: 1.139 MB / 0.7412 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.6796, allocations: 2.597 MB / 0.7437 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.681, allocations: 0.8215 MB / 0.7445 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.6816, allocations: 298.6 kB / 0.7448 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/0.6822, allocations: 466.2 kB / 0.7452 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.683, allocations: 439.3 kB / 0.7457 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.195e-06/0.6831, allocations: 0 / 0.7457 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.00303/0.6861, allocations: 1.116 MB / 0.7467 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.6862, allocations: 196.6 kB / 0.7469 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.687, allocations: 0.5979 MB / 0.7475 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.687, allocations: 41.7 kB / 0.7476 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.6874, allocations: 404.2 kB / 0.7479 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.6876, allocations: 244.4 kB / 0.7482 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6877, allocations: 61.69 kB / 0.7482 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6879, allocations: 386.7 kB / 0.7486 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.6884, allocations: 249.9 kB / 0.7488 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.6889, allocations: 339 kB / 0.7492 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.69, allocations: 0.5838 MB / 0.7497 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.69, allocations: 0 / 0.7497 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001866/0.6919, allocations: 0.7903 MB / 0.7505 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.6919, allocations: 4 kB / 0.7505 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6919, allocations: 7.984 kB / 0.7505 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.6926, allocations: 80.88 kB / 0.7506 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.6932, allocations: 155.7 kB / 0.7507 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.6955, allocations: 1.52 MB / 0.7522 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.6961, allocations: 91.48 kB / 0.7523 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.6962, allocations: 35.91 kB / 0.7524 GB, free: 3.141 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004074/0.6966, allocations: 259.2 kB / 0.7526 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6967, allocations: 79 kB / 0.7527 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.699, allocations: 1.01 MB / 0.7537 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.699, allocations: 12 kB / 0.7537 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.699, allocations: 0 / 0.7537 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.699, allocations: 3.984 kB / 0.7537 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.7021, allocations: 1.904 MB / 0.7555 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7021, allocations: 3.938 kB / 0.7555 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.7027, allocations: 143.8 kB / 0.7557 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.7032, allocations: 88.84 kB / 0.7558 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.7033, allocations: 23.98 kB / 0.7558 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.705, allocations: 1.544 MB / 0.7573 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.705, allocations: 0 / 0.7573 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.7068, allocations: 0.9336 MB / 0.7582 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.7072, allocations: 271.7 kB / 0.7585 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.7073, allocations: 16 kB / 0.7585 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.7079, allocations: 75.94 kB / 0.7585 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.708, allocations: 64.86 kB / 0.7586 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.7081, allocations: 27.98 kB / 0.7586 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005243/0.7086, allocations: 439 kB / 0.7591 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7086, allocations: 0 / 0.7591 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009371/0.7096, allocations: 315.2 kB / 0.7594 GB, free: 11.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001486/0.7111, allocations: 0.6217 MB / 0.76 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.7129, allocations: 0.769 MB / 0.7607 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7129, allocations: 7.984 kB / 0.7607 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.7138, allocations: 0.4924 MB / 0.7612 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.715, allocations: 263.4 kB / 0.7615 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.7195, allocations: 2.251 MB / 0.7637 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.7201, allocations: 1.012 MB / 0.7646 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7204, allocations: 115.4 kB / 0.7647 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.7205, allocations: 0 / 0.7647 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of Templates: time 0.02446/0.7449, allocations: 17.84 MB / 0.7822 GB, free: 4.559 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f IDEAS_IDEAS.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/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1