Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008665/0.0008667, allocations: 99.34 kB / 16.02 MB, free: 72 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.001069/0.001069, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8.562 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4922, allocations: 81.57 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004641/0.4968, allocations: 3.754 MB / 0.588 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/0.6746, allocations: 146.6 MB / 0.7311 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.6756, allocations: 15.94 kB / 0.7311 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.6761, allocations: 139 kB / 0.7312 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.6778, allocations: 400.8 kB / 0.7316 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.6798, allocations: 0.7024 MB / 0.7323 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.6812, allocations: 1.106 MB / 0.7334 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.6822, allocations: 0.6542 MB / 0.734 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.6828, allocations: 306.4 kB / 0.7343 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.6832, allocations: 339.5 kB / 0.7346 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.6833, allocations: 24 kB / 0.7347 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008701/0.6842, allocations: 363.6 kB / 0.735 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.6844, allocations: 175.1 kB / 0.7352 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.6848, allocations: 438.9 kB / 0.7356 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.686, allocations: 1.122 MB / 0.7367 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.686, allocations: 3.938 kB / 0.7367 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.796e-06/0.686, allocations: 0 / 0.7367 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.686, allocations: 0 / 0.7367 GB, free: 3.867 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002095/0.6881, allocations: 1.168 MB / 0.7378 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6882, allocations: 8.031 kB / 0.7378 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.6892, allocations: 219.4 kB / 0.738 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.6903, allocations: 0.7227 MB / 0.7387 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.6903, allocations: 66 kB / 0.7388 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6905, allocations: 84 kB / 0.7389 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.6921, allocations: 0.9449 MB / 0.7398 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.6922, allocations: 0 / 0.7398 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.6922, allocations: 51.92 kB / 0.7399 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.6923, allocations: 20 kB / 0.7399 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6941, allocations: 1.124 MB / 0.741 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.6982, allocations: 2.511 MB / 0.7434 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.7004, allocations: 0.883 MB / 0.7443 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.7009, allocations: 294.7 kB / 0.7446 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.349e-05/0.701, allocations: 44.55 kB / 0.7446 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008449/0.7019, allocations: 435.3 kB / 0.745 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/0.7019, allocations: 0 / 0.745 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002935/0.7048, allocations: 1.108 MB / 0.7461 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7049, allocations: 192.6 kB / 0.7463 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.7057, allocations: 0.6017 MB / 0.7469 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/0.7058, allocations: 41.7 kB / 0.7469 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.7061, allocations: 396.2 kB / 0.7473 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.7064, allocations: 244.4 kB / 0.7475 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.7065, allocations: 57.69 kB / 0.7476 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7066, allocations: 390.7 kB / 0.748 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.7071, allocations: 245.9 kB / 0.7482 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.7077, allocations: 335.1 kB / 0.7485 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7088, allocations: 0.5837 MB / 0.7491 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7088, allocations: 0 / 0.7491 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001863/0.7107, allocations: 0.7942 MB / 0.7499 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.7107, allocations: 11.94 kB / 0.7499 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7107, allocations: 0 / 0.7499 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.7113, allocations: 84.86 kB / 0.75 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.7119, allocations: 155.8 kB / 0.7501 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.7141, allocations: 1.525 MB / 0.7516 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.7148, allocations: 95.42 kB / 0.7517 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.7149, allocations: 35.97 kB / 0.7517 GB, free: 3.938 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.0004814/0.7154, allocations: 258.5 kB / 0.752 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7155, allocations: 79 kB / 0.752 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.7177, allocations: 1.002 MB / 0.753 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.7178, allocations: 8 kB / 0.753 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.7178, allocations: 0 / 0.753 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.7178, allocations: 3.984 kB / 0.753 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.721, allocations: 1.908 MB / 0.7549 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.721, allocations: 0 / 0.7549 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.7216, allocations: 151.7 kB / 0.755 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.7221, allocations: 80.78 kB / 0.7551 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.7222, allocations: 23.98 kB / 0.7551 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.724, allocations: 1.552 MB / 0.7567 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.724, allocations: 0 / 0.7567 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.726, allocations: 0.9298 MB / 0.7576 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.7264, allocations: 271.7 kB / 0.7578 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.7265, allocations: 16 kB / 0.7578 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.7271, allocations: 72.81 kB / 0.7579 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.7273, allocations: 64.84 kB / 0.758 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.7273, allocations: 31.98 kB / 0.758 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005818/0.7279, allocations: 435 kB / 0.7584 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7279, allocations: 0 / 0.7584 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008939/0.7288, allocations: 303.1 kB / 0.7587 GB, free: 12.53 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 (85): * Single equations (assignments): 82 * 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.001398/0.7302, allocations: 0.6068 MB / 0.7593 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.7319, allocations: 0.7728 MB / 0.76 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7319, allocations: 0 / 0.76 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.7328, allocations: 0.5002 MB / 0.7605 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.7341, allocations: 253.3 kB / 0.7608 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.7383, allocations: 2.247 MB / 0.763 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.7389, allocations: 1.022 MB / 0.764 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.7392, allocations: 111.4 kB / 0.7641 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.7392, allocations: 0 / 0.7641 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.02546/0.7647, allocations: 17.61 MB / 0.7813 GB, free: 5.621 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMassCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1