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.00478/0.00478, allocations: 100.4 kB / 15.87 MB, free: 5.863 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.001004/0.001004, allocations: 189.3 kB / 16.79 MB, free: 5.805 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.286/1.286, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 60 kB / 0.5017 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1547, allocations: 80.2 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005808/0.1605, allocations: 4.199 MB / 0.5841 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4572/0.6177, allocations: 148.2 MB / 0.7289 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.6185, allocations: 14.62 kB / 0.7289 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.6191, allocations: 129.7 kB / 0.729 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.6206, allocations: 410.3 kB / 0.7294 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.6224, allocations: 0.704 MB / 0.7301 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.6235, allocations: 1.128 MB / 0.7312 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009673/0.6245, allocations: 0.6585 MB / 0.7319 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.625, allocations: 405 kB / 0.7322 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.6255, allocations: 459.8 kB / 0.7327 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.6256, allocations: 60.81 kB / 0.7327 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.6265, allocations: 419.5 kB / 0.7331 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.6268, allocations: 240.1 kB / 0.7334 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.6272, allocations: 492.8 kB / 0.7338 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6283, allocations: 1.169 MB / 0.735 GB, free: 364 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6283, allocations: 1.312 kB / 0.735 GB, free: 364 kB / 0.545 GB Notification: Performance of FrontEnd: time 5.01e-07/0.6284, allocations: 0 / 0.735 GB, free: 364 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.6284, allocations: 4 kB / 0.735 GB, free: 360 kB / 0.545 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.002304/0.6307, allocations: 1.389 MB / 0.7363 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6307, allocations: 9.469 kB / 0.7363 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.6318, allocations: 202.8 kB / 0.7365 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.6328, allocations: 0.7224 MB / 0.7372 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.6329, allocations: 69.62 kB / 0.7373 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.633, allocations: 85.94 kB / 0.7374 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.6346, allocations: 0.9473 MB / 0.7383 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6346, allocations: 0 / 0.7383 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.6347, allocations: 41.14 kB / 0.7384 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.6347, allocations: 22.44 kB / 0.7384 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.6365, allocations: 1.127 MB / 0.7395 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.6405, allocations: 2.564 MB / 0.742 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.6419, allocations: 0.8168 MB / 0.7428 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.6424, allocations: 290.5 kB / 0.7431 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.643, allocations: 468.1 kB / 0.7435 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.6439, allocations: 443.8 kB / 0.7439 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.6439, allocations: 2.969 kB / 0.7439 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002857/0.6468, allocations: 1.098 MB / 0.745 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6469, allocations: 188.5 kB / 0.7452 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.6476, allocations: 0.6041 MB / 0.7458 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.6476, allocations: 44.58 kB / 0.7458 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.6479, allocations: 402.2 kB / 0.7462 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.6481, allocations: 244.8 kB / 0.7464 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.6483, allocations: 153.8 kB / 0.7466 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6485, allocations: 380.9 kB / 0.7469 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.649, allocations: 251.1 kB / 0.7472 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.6496, allocations: 339 kB / 0.7475 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6506, allocations: 0.5643 MB / 0.7481 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6506, allocations: 0 / 0.7481 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001799/0.6524, allocations: 0.7941 MB / 0.7488 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6525, allocations: 8 kB / 0.7488 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6525, allocations: 0 / 0.7488 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.6531, allocations: 84.86 kB / 0.7489 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.6537, allocations: 147.8 kB / 0.7491 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.6557, allocations: 1.52 MB / 0.7505 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.6563, allocations: 86.83 kB / 0.7506 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.6564, allocations: 27.98 kB / 0.7507 GB, free: 3.949 MB / 0.5606 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.0004207/0.6568, allocations: 263.3 kB / 0.7509 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.657, allocations: 79 kB / 0.751 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.6592, allocations: 0.9973 MB / 0.752 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.6592, allocations: 8 kB / 0.752 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6593, allocations: 4 kB / 0.752 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.6593, allocations: 3.984 kB / 0.752 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.6623, allocations: 1.896 MB / 0.7538 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6623, allocations: 0 / 0.7538 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.6629, allocations: 145.5 kB / 0.754 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.6634, allocations: 88.7 kB / 0.754 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.6635, allocations: 23.98 kB / 0.7541 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.6652, allocations: 1.542 MB / 0.7556 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6652, allocations: 3.938 kB / 0.7556 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.6671, allocations: 0.9219 MB / 0.7565 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6674, allocations: 251.8 kB / 0.7567 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6675, allocations: 21.69 kB / 0.7567 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.6681, allocations: 55.94 kB / 0.7568 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6682, allocations: 64.92 kB / 0.7569 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.6683, allocations: 31.98 kB / 0.7569 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000517/0.6688, allocations: 435 kB / 0.7573 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6688, allocations: 0 / 0.7573 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008854/0.6697, allocations: 323.2 kB / 0.7576 GB, free: 12.58 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 (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.001356/0.6711, allocations: 0.6102 MB / 0.7582 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.6727, allocations: 0.7721 MB / 0.759 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6727, allocations: 0 / 0.759 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.6736, allocations: 488.8 kB / 0.7594 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6747, allocations: 267.9 kB / 0.7597 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.6786, allocations: 2.193 MB / 0.7618 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.6792, allocations: 1.012 MB / 0.7628 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.6795, allocations: 111.4 kB / 0.7629 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.6795, allocations: 0 / 0.7629 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.02057/0.7001, allocations: 17.96 MB / 0.7805 GB, free: 5.418 MB / 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++ -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