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.0009457/0.0009459, allocations: 100.5 kB / 15.71 MB, free: 452 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.001039/0.001039, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.386/1.386, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7459/0.7459, allocations: 132.3 MB / 424 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12.58 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4892, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004274/0.4936, allocations: 3.6 MB / 0.5872 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.6639, allocations: 136.7 MB / 0.7207 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.6647, allocations: 19.88 kB / 0.7207 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.6653, allocations: 119 kB / 0.7209 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.6665, allocations: 393 kB / 0.7212 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.6682, allocations: 0.6338 MB / 0.7219 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.6692, allocations: 1.028 MB / 0.7229 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/0.67, allocations: 0.5304 MB / 0.7234 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.6704, allocations: 310.5 kB / 0.7237 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.6708, allocations: 322.2 kB / 0.724 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.6709, allocations: 24 kB / 0.724 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.6716, allocations: 351.7 kB / 0.7243 GB, free: 164 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.6718, allocations: 167.3 kB / 0.7245 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.672, allocations: 189.1 kB / 0.7247 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.6731, allocations: 1.138 MB / 0.7258 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6731, allocations: 0 / 0.7258 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.216e-06/0.6731, allocations: 3.984 kB / 0.7258 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.6731, allocations: 4 kB / 0.7258 GB, free: 14.66 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.001895/0.675, allocations: 1.182 MB / 0.727 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6751, allocations: 12.03 kB / 0.727 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.6761, allocations: 218.4 kB / 0.7272 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/0.6771, allocations: 0.6914 MB / 0.7278 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.6772, allocations: 70 kB / 0.7279 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6773, allocations: 91.98 kB / 0.728 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.6789, allocations: 0.9456 MB / 0.7289 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6789, allocations: 0 / 0.7289 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.679, allocations: 36 kB / 0.729 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.679, allocations: 28 kB / 0.729 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6807, allocations: 1.132 MB / 0.7301 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.6845, allocations: 2.585 MB / 0.7326 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6859, allocations: 0.8255 MB / 0.7334 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.6864, allocations: 290.6 kB / 0.7337 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000626/0.687, allocations: 474.2 kB / 0.7342 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000793/0.6878, allocations: 435.2 kB / 0.7346 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.344e-06/0.6878, allocations: 4 kB / 0.7346 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002733/0.6906, allocations: 1.108 MB / 0.7357 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6907, allocations: 188.6 kB / 0.7358 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.6914, allocations: 0.5979 MB / 0.7364 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.6915, allocations: 45.7 kB / 0.7365 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.6918, allocations: 396.2 kB / 0.7368 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.692, allocations: 248.4 kB / 0.7371 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.692, allocations: 12 kB / 0.7371 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6922, allocations: 382.8 kB / 0.7375 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.6927, allocations: 245.9 kB / 0.7377 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.6932, allocations: 335.1 kB / 0.738 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.6938, allocations: 290.9 kB / 0.7383 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6938, allocations: 0 / 0.7383 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001655/0.6955, allocations: 0.7941 MB / 0.7391 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6955, allocations: 12.08 kB / 0.7391 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6955, allocations: 4 kB / 0.7391 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.696, allocations: 80.78 kB / 0.7391 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.6967, allocations: 147.8 kB / 0.7393 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6985, allocations: 1.52 MB / 0.7408 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.6991, allocations: 87.36 kB / 0.7409 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.6992, allocations: 35.97 kB / 0.7409 GB, free: 14.59 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.6996, allocations: 263.2 kB / 0.7411 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6997, allocations: 75.06 kB / 0.7412 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.7019, allocations: 1.013 MB / 0.7422 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.7019, allocations: 12 kB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7019, allocations: 3.953 kB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7019, allocations: 3.984 kB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.7048, allocations: 1.899 MB / 0.7441 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7048, allocations: 0 / 0.7441 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.7054, allocations: 147.8 kB / 0.7442 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.7059, allocations: 84.86 kB / 0.7443 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.706, allocations: 27.92 kB / 0.7443 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.7076, allocations: 1.544 MB / 0.7458 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7076, allocations: 0 / 0.7458 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.7093, allocations: 0.9296 MB / 0.7467 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.7097, allocations: 267.8 kB / 0.747 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.7098, allocations: 16 kB / 0.747 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.7103, allocations: 75.66 kB / 0.7471 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.7104, allocations: 56.94 kB / 0.7471 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/0.7105, allocations: 39.97 kB / 0.7472 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000499/0.711, allocations: 435 kB / 0.7476 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.711, allocations: 7.938 kB / 0.7476 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008725/0.7119, allocations: 315.1 kB / 0.7479 GB, free: 7.152 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.7132, allocations: 0.5951 MB / 0.7485 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.7147, allocations: 0.7767 MB / 0.7492 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7148, allocations: 0 / 0.7492 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.7156, allocations: 0.4885 MB / 0.7497 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7167, allocations: 246.1 kB / 0.75 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.7205, allocations: 2.176 MB / 0.7521 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.7211, allocations: 1.02 MB / 0.7531 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.7214, allocations: 111.4 kB / 0.7532 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.7214, allocations: 0 / 0.7532 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.02594/0.7473, allocations: 17.87 MB / 0.7706 GB, free: 88 kB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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