Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 98.88 kB / 16.02 MB, free: 76 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.00121/0.00121, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7443/0.7443, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003914, allocations: 12.56 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4915, allocations: 81.58 MB / 0.5843 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004611/0.4961, allocations: 3.81 MB / 0.588 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1722/0.6683, allocations: 146.7 MB / 0.7312 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.6691, allocations: 11.94 kB / 0.7312 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.6696, allocations: 134.9 kB / 0.7314 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.6708, allocations: 416.8 kB / 0.7318 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.6726, allocations: 0.7095 MB / 0.7325 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.6738, allocations: 1.141 MB / 0.7336 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008844/0.6747, allocations: 0.6014 MB / 0.7342 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.6752, allocations: 318.3 kB / 0.7345 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.6757, allocations: 350 kB / 0.7348 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.6758, allocations: 20 kB / 0.7348 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.6767, allocations: 391.6 kB / 0.7352 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.677, allocations: 179.1 kB / 0.7354 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.6774, allocations: 423 kB / 0.7358 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.6786, allocations: 1.114 MB / 0.7369 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.6786, allocations: 0 / 0.7369 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6786, allocations: 0 / 0.7369 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.6786, allocations: 0 / 0.7369 GB, free: 3.605 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002006/0.6806, allocations: 1.147 MB / 0.738 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6807, allocations: 12.03 kB / 0.738 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/0.6816, allocations: 191.4 kB / 0.7382 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009765/0.6825, allocations: 0.7072 MB / 0.7389 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.6826, allocations: 66 kB / 0.7389 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6827, allocations: 83.94 kB / 0.739 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6843, allocations: 0.9105 MB / 0.7399 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.6843, allocations: 0 / 0.7399 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.6844, allocations: 32 kB / 0.7399 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.6844, allocations: 20 kB / 0.7399 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.6861, allocations: 1.104 MB / 0.741 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.6902, allocations: 2.57 MB / 0.7435 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.6921, allocations: 0.8689 MB / 0.7444 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.6926, allocations: 298.6 kB / 0.7447 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.6927, allocations: 32.67 kB / 0.7447 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008487/0.6935, allocations: 447.3 kB / 0.7451 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.6936, allocations: 0 / 0.7451 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002947/0.6965, allocations: 1.139 MB / 0.7462 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.6966, allocations: 188.6 kB / 0.7464 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.6974, allocations: 0.6017 MB / 0.747 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.6975, allocations: 37.7 kB / 0.747 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.6978, allocations: 384.3 kB / 0.7474 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.6981, allocations: 252.4 kB / 0.7476 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.6982, allocations: 61.67 kB / 0.7477 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6984, allocations: 382.7 kB / 0.7481 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.6989, allocations: 257.9 kB / 0.7483 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.6995, allocations: 347 kB / 0.7486 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.7005, allocations: 0.5916 MB / 0.7492 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7005, allocations: 0 / 0.7492 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001784/0.7023, allocations: 0.8215 MB / 0.75 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.7023, allocations: 10.03 kB / 0.75 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.7023, allocations: 3.938 kB / 0.75 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.7029, allocations: 84.81 kB / 0.7501 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.7036, allocations: 167.6 kB / 0.7503 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.7056, allocations: 1.512 MB / 0.7518 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.7063, allocations: 99.23 kB / 0.7518 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.7064, allocations: 31.97 kB / 0.7519 GB, free: 3.684 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0004336/0.7068, allocations: 260 kB / 0.7521 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.7069, allocations: 79 kB / 0.7522 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.7093, allocations: 1.061 MB / 0.7532 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7093, allocations: 11.98 kB / 0.7532 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7093, allocations: 8 kB / 0.7533 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7093, allocations: 3.984 kB / 0.7533 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.7126, allocations: 1.94 MB / 0.7552 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.7126, allocations: 0 / 0.7552 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.7132, allocations: 167.7 kB / 0.7553 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.7137, allocations: 84.83 kB / 0.7554 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.7137, allocations: 23.92 kB / 0.7554 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.7156, allocations: 1.544 MB / 0.7569 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7156, allocations: 0 / 0.7569 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.7174, allocations: 0.9687 MB / 0.7579 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.7178, allocations: 279.8 kB / 0.7581 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.7179, allocations: 16 kB / 0.7582 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.7185, allocations: 75.88 kB / 0.7582 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7186, allocations: 64.89 kB / 0.7583 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.7187, allocations: 39.97 kB / 0.7583 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005432/0.7192, allocations: 431 kB / 0.7587 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7192, allocations: 0 / 0.7587 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008904/0.7201, allocations: 315.2 kB / 0.759 GB, free: 12.09 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 (93): * Single equations (assignments): 90 * 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.001393/0.7215, allocations: 0.6178 MB / 0.7596 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.7231, allocations: 0.8041 MB / 0.7604 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7231, allocations: 0 / 0.7604 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.724, allocations: 0.5002 MB / 0.7609 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.7252, allocations: 268.7 kB / 0.7612 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.7293, allocations: 2.232 MB / 0.7633 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.73, allocations: 1.008 MB / 0.7643 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.7303, allocations: 123.3 kB / 0.7645 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.7303, allocations: 0 / 0.7645 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.02323/0.7535, allocations: 17.52 MB / 0.7816 GB, free: 5.219 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o] Error 1