Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008639/0.0008637, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.359/1.359, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.3 MB / 424.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 8 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5014, allocations: 81.57 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004471/0.5059, allocations: 3.686 MB / 0.5879 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1827/0.6887, allocations: 146.5 MB / 0.731 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.6894, allocations: 11.94 kB / 0.731 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.6898, allocations: 139 kB / 0.7311 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.6911, allocations: 397.2 kB / 0.7315 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.6927, allocations: 0.6842 MB / 0.7322 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.6938, allocations: 1.078 MB / 0.7332 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.6946, allocations: 0.5977 MB / 0.7338 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.695, allocations: 294.5 kB / 0.7341 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.6953, allocations: 322.1 kB / 0.7344 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.6954, allocations: 24 kB / 0.7344 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.6961, allocations: 363.6 kB / 0.7348 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.6963, allocations: 167.1 kB / 0.7349 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.6967, allocations: 411.2 kB / 0.7353 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.6977, allocations: 1.075 MB / 0.7364 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6977, allocations: 0 / 0.7364 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6977, allocations: 4 kB / 0.7364 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.6977, allocations: 0 / 0.7364 GB, free: 4.172 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001798/0.6995, allocations: 1.104 MB / 0.7375 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.6996, allocations: 8.031 kB / 0.7375 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.7005, allocations: 187.5 kB / 0.7376 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.7014, allocations: 0.7111 MB / 0.7383 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.7014, allocations: 58 kB / 0.7384 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.7015, allocations: 76 kB / 0.7385 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.703, allocations: 0.8598 MB / 0.7393 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.703, allocations: 0 / 0.7393 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.7031, allocations: 32 kB / 0.7393 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.7031, allocations: 20 kB / 0.7393 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.7047, allocations: 1.069 MB / 0.7404 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.7082, allocations: 2.418 MB / 0.7428 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.7095, allocations: 0.8046 MB / 0.7435 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.7099, allocations: 274.4 kB / 0.7438 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.71, allocations: 36.58 kB / 0.7438 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007082/0.7107, allocations: 421.8 kB / 0.7442 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.245e-06/0.7107, allocations: 0 / 0.7442 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002818/0.7136, allocations: 1.085 MB / 0.7453 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7137, allocations: 192.5 kB / 0.7455 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.7144, allocations: 0.5822 MB / 0.7461 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.7145, allocations: 37.7 kB / 0.7461 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.7148, allocations: 368.2 kB / 0.7464 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.715, allocations: 232.6 kB / 0.7467 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.7151, allocations: 57.69 kB / 0.7467 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.7153, allocations: 382.8 kB / 0.7471 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.7157, allocations: 237.9 kB / 0.7473 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.7163, allocations: 326.9 kB / 0.7476 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.7172, allocations: 0.5546 MB / 0.7482 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7173, allocations: 0 / 0.7482 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001684/0.7189, allocations: 0.7822 MB / 0.7489 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.719, allocations: 4 kB / 0.7489 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.719, allocations: 0 / 0.7489 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.7196, allocations: 84.88 kB / 0.749 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.7202, allocations: 143.8 kB / 0.7491 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.7223, allocations: 1.535 MB / 0.7506 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.7229, allocations: 87.36 kB / 0.7507 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.7229, allocations: 27.98 kB / 0.7508 GB, free: 4.91 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 (81): * Single equations (assignments): 80 * 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.0004166/0.7234, allocations: 271.5 kB / 0.751 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7235, allocations: 71.06 kB / 0.7511 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.7257, allocations: 0.9742 MB / 0.752 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.7257, allocations: 8 kB / 0.752 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.7257, allocations: 0 / 0.752 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7257, allocations: 7.984 kB / 0.752 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.7287, allocations: 1.84 MB / 0.7538 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7287, allocations: 4 kB / 0.7538 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.7292, allocations: 135.8 kB / 0.754 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/0.7298, allocations: 84.78 kB / 0.7541 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.7298, allocations: 23.98 kB / 0.7541 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.7317, allocations: 1.556 MB / 0.7556 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7317, allocations: 8.125 kB / 0.7556 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.7335, allocations: 0.9023 MB / 0.7565 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.7339, allocations: 263.8 kB / 0.7567 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.734, allocations: 16 kB / 0.7568 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.7346, allocations: 65.81 kB / 0.7568 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7347, allocations: 60.92 kB / 0.7569 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.7348, allocations: 31.91 kB / 0.7569 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005203/0.7353, allocations: 427.1 kB / 0.7573 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7353, allocations: 0 / 0.7573 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007986/0.7361, allocations: 291.2 kB / 0.7576 GB, free: 13.65 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 (81): * Single equations (assignments): 78 * 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.001301/0.7374, allocations: 0.5982 MB / 0.7582 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.7389, allocations: 0.763 MB / 0.7589 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7389, allocations: 0 / 0.7589 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.7398, allocations: 484.3 kB / 0.7594 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.741, allocations: 251.4 kB / 0.7596 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.7449, allocations: 2.112 MB / 0.7617 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.7455, allocations: 0.9925 MB / 0.7627 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.7458, allocations: 107.4 kB / 0.7628 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.7458, allocations: 0 / 0.7628 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.0245/0.7703, allocations: 16.87 MB / 0.7792 GB, free: 7.68 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1