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.004892/0.004893, allocations: 100.2 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.001104/0.001105, allocations: 189.1 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.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.2 MB / 422.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 59.88 kB / 0.5017 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1799, allocations: 80.2 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005672/0.1857, allocations: 4.158 MB / 0.5841 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4652/0.6509, allocations: 148.2 MB / 0.7288 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.6518, allocations: 15.56 kB / 0.7288 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.6525, allocations: 136.2 kB / 0.7289 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.6541, allocations: 398 kB / 0.7293 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.656, allocations: 0.6978 MB / 0.73 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.6572, allocations: 1.11 MB / 0.7311 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.6581, allocations: 0.6654 MB / 0.7317 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.6587, allocations: 395.6 kB / 0.7321 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004448/0.6591, allocations: 460.1 kB / 0.7325 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.6592, allocations: 60.81 kB / 0.7326 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.6601, allocations: 402.2 kB / 0.733 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.6603, allocations: 234.5 kB / 0.7332 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.6608, allocations: 487.2 kB / 0.7337 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.6619, allocations: 1.156 MB / 0.7348 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6619, allocations: 1.375 kB / 0.7348 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6619, allocations: 0 / 0.7348 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.6619, allocations: 0 / 0.7348 GB, free: 0.5078 MB / 0.545 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.002259/0.6642, allocations: 1.38 MB / 0.7362 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6642, allocations: 11.47 kB / 0.7362 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.6653, allocations: 204.7 kB / 0.7364 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.6662, allocations: 0.7223 MB / 0.7371 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.6663, allocations: 66.94 kB / 0.7371 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.6664, allocations: 89.88 kB / 0.7372 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.6679, allocations: 0.9432 MB / 0.7381 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6679, allocations: 0 / 0.7381 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.668, allocations: 41.34 kB / 0.7382 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.668, allocations: 22.66 kB / 0.7382 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.6697, allocations: 1.125 MB / 0.7393 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.6736, allocations: 2.481 MB / 0.7417 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.6757, allocations: 0.8799 MB / 0.7426 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.6762, allocations: 279.8 kB / 0.7428 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.6763, allocations: 38.23 kB / 0.7429 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/0.6771, allocations: 440.7 kB / 0.7433 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.905e-06/0.6772, allocations: 2.719 kB / 0.7433 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002881/0.68, allocations: 1.091 MB / 0.7444 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.6802, allocations: 192.5 kB / 0.7446 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.6809, allocations: 0.5994 MB / 0.7451 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.681, allocations: 46.95 kB / 0.7452 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.6813, allocations: 391.4 kB / 0.7456 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.6815, allocations: 247.6 kB / 0.7458 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.6817, allocations: 148.9 kB / 0.7459 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6818, allocations: 389.7 kB / 0.7463 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.6823, allocations: 239.9 kB / 0.7465 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.6829, allocations: 339 kB / 0.7469 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.6839, allocations: 0.5648 MB / 0.7474 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6839, allocations: 0 / 0.7474 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00186/0.6858, allocations: 0.7902 MB / 0.7482 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6858, allocations: 8 kB / 0.7482 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6858, allocations: 0 / 0.7482 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/0.6864, allocations: 84.86 kB / 0.7483 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.687, allocations: 152.6 kB / 0.7484 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.6891, allocations: 1.521 MB / 0.7499 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.6899, allocations: 83.39 kB / 0.75 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.6899, allocations: 31.98 kB / 0.75 GB, free: 4.77 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.0004987/0.6904, allocations: 269 kB / 0.7503 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.6906, allocations: 75.06 kB / 0.7503 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.693, allocations: 0.9911 MB / 0.7513 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.693, allocations: 8 kB / 0.7513 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.693, allocations: 8.062 kB / 0.7513 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.693, allocations: 7.969 kB / 0.7513 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.6964, allocations: 1.886 MB / 0.7532 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6964, allocations: 3.938 kB / 0.7532 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.697, allocations: 143.8 kB / 0.7533 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/0.6976, allocations: 92.7 kB / 0.7534 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.6976, allocations: 19.98 kB / 0.7534 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.6996, allocations: 1.548 MB / 0.7549 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6996, allocations: 0 / 0.7549 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.7016, allocations: 0.9219 MB / 0.7558 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.702, allocations: 259.8 kB / 0.7561 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.7022, allocations: 20 kB / 0.7561 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.7028, allocations: 55.94 kB / 0.7562 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.703, allocations: 58.73 kB / 0.7562 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.703, allocations: 31.98 kB / 0.7562 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006128/0.7036, allocations: 435 kB / 0.7567 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7037, allocations: 0 / 0.7567 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001063/0.7047, allocations: 311.1 kB / 0.7569 GB, free: 13.42 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 (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.001537/0.7063, allocations: 0.6037 MB / 0.7575 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.708, allocations: 0.7643 MB / 0.7583 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.708, allocations: 3.938 kB / 0.7583 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.7089, allocations: 496.8 kB / 0.7588 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.7101, allocations: 262.4 kB / 0.759 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.7144, allocations: 2.181 MB / 0.7611 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.715, allocations: 1.011 MB / 0.7621 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.7154, allocations: 111.4 kB / 0.7622 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7154, allocations: 0 / 0.7622 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.02291/0.7383, allocations: 17.73 MB / 0.7796 GB, free: 6.496 MB / 0.5919 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