Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006131/0.006131, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001146/0.001146, allocations: 192 kB / 16.79 MB, free: 5.809 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7299/0.7299, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.88 kB / 0.5017 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1787, allocations: 80.21 MB / 0.58 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006992/0.1857, allocations: 6.021 MB / 0.5859 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4857/0.6715, allocations: 149.1 MB / 0.7315 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.6735, allocations: 23.84 kB / 0.7315 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6748, allocations: 177.3 kB / 0.7317 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.678, allocations: 0.5149 MB / 0.7322 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.6815, allocations: 1.143 MB / 0.7333 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.6853, allocations: 2.231 MB / 0.7355 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.6875, allocations: 1.531 MB / 0.737 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.6893, allocations: 0.8968 MB / 0.7379 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.6907, allocations: 1.085 MB / 0.7389 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.691, allocations: 151.8 kB / 0.7391 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.6923, allocations: 0.5013 MB / 0.7396 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.6928, allocations: 0.5048 MB / 0.7401 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.6939, allocations: 1.024 MB / 0.7411 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.6965, allocations: 2.464 MB / 0.7435 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6965, allocations: 4 kB / 0.7435 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6965, allocations: 0 / 0.7435 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.69e-05/0.6966, allocations: 0 / 0.7435 GB, free: 10.31 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005542/0.7021, allocations: 2.581 MB / 0.746 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7022, allocations: 13.53 kB / 0.746 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.7178, allocations: 2.091 MB / 0.7481 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.7206, allocations: 1.197 MB / 0.7492 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.7207, allocations: 160.4 kB / 0.7494 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.7211, allocations: 212 kB / 0.7496 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008384/0.7295, allocations: 3.158 MB / 0.7527 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.7296, allocations: 0 / 0.7527 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.7299, allocations: 92 kB / 0.7528 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.7299, allocations: 52 kB / 0.7528 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.7418, allocations: 4.099 MB / 0.7568 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.7572, allocations: 7.001 MB / 0.7636 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/0.765, allocations: 2.7 MB / 0.7663 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/0.7689, allocations: 1.426 MB / 0.7677 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.7697, allocations: 0.4955 MB / 0.7682 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0046/0.7743, allocations: 1.7 MB / 0.7698 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.467e-06/0.7743, allocations: 4 kB / 0.7698 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01311/0.7874, allocations: 4.2 MB / 0.7739 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7876, allocations: 205.9 kB / 0.7741 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.7887, allocations: 0.854 MB / 0.775 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.7889, allocations: 57.7 kB / 0.775 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.7895, allocations: 0.7074 MB / 0.7757 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/0.79, allocations: 0.6274 MB / 0.7763 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.7907, allocations: 363.9 kB / 0.7767 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.7908, allocations: 309.1 kB / 0.777 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.7944, allocations: 1.187 MB / 0.7781 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/0.7983, allocations: 1.352 MB / 0.7794 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007265/0.8056, allocations: 2.497 MB / 0.7819 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.8056, allocations: 9.5 kB / 0.7819 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008775/0.8144, allocations: 2.952 MB / 0.7848 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.8144, allocations: 7.75 kB / 0.7848 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.8145, allocations: 4 kB / 0.7848 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.815, allocations: 88.78 kB / 0.7849 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.8185, allocations: 0.5695 MB / 0.7854 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.8204, allocations: 1.53 MB / 0.7869 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/0.8234, allocations: 330.2 kB / 0.7872 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.8237, allocations: 95.89 kB / 0.7873 GB, free: 14.31 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.0009789/0.8247, allocations: 411 kB / 0.7877 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.8251, allocations: 138.3 kB / 0.7878 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8353, allocations: 3.488 MB / 0.7912 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.8354, allocations: 20 kB / 0.7913 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8354, allocations: 0 / 0.7913 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.8354, allocations: 7.969 kB / 0.7913 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.8479, allocations: 5.758 MB / 0.7969 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.848, allocations: 3.984 kB / 0.7969 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/0.8513, allocations: 0.55 MB / 0.7974 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.8518, allocations: 80.78 kB / 0.7975 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/0.852, allocations: 75.86 kB / 0.7976 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.8537, allocations: 1.544 MB / 0.7991 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8537, allocations: 0 / 0.7991 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008903/0.8626, allocations: 3.055 MB / 0.8021 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/0.8635, allocations: 0.4986 MB / 0.8026 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.8639, allocations: 43.84 kB / 0.8026 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/0.8664, allocations: 247.7 kB / 0.8028 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.8667, allocations: 129.8 kB / 0.803 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/0.8669, allocations: 79.86 kB / 0.803 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008948/0.8678, allocations: 0.6427 MB / 0.8037 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8678, allocations: 0 / 0.8037 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001749/0.8695, allocations: 0.5958 MB / 0.8043 GB, free: 12.69 MB / 0.6231 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 (210): * Single equations (assignments): 207 * 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.001395/0.8709, allocations: 0.6558 MB / 0.8049 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008414/0.8794, allocations: 2.975 MB / 0.8078 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8794, allocations: 4.062 kB / 0.8078 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/0.8839, allocations: 1.661 MB / 0.8094 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.8857, allocations: 318 kB / 0.8097 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/0.8954, allocations: 4.942 MB / 0.8146 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.8963, allocations: 1.37 MB / 0.8159 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.898, allocations: 263.1 kB / 0.8161 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.898, allocations: 0 / 0.8161 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of Templates: time 0.05181/0.9498, allocations: 38.75 MB / 0.854 GB, free: 9.941 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerezCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1