Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009823, allocations: 102.5 kB / 15.71 MB, free: 460 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.001341/0.001341, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.586/1.586, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.4 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.000362, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7905, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005171/0.7957, allocations: 3.82 MB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1787/0.9745, allocations: 136.8 MB / 1.092 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.9756, allocations: 11.94 kB / 1.092 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.9762, allocations: 138.9 kB / 1.092 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.9779, allocations: 432 kB / 1.092 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.9799, allocations: 0.642 MB / 1.093 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.9815, allocations: 1.16 MB / 1.094 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.9822, allocations: 487.3 kB / 1.095 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.9829, allocations: 350.5 kB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.9834, allocations: 382 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.9835, allocations: 24 kB / 1.095 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008393/0.9844, allocations: 339.7 kB / 1.096 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.9846, allocations: 183.1 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.9848, allocations: 201.1 kB / 1.096 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.9862, allocations: 1.181 MB / 1.097 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.9862, allocations: 0 / 1.097 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.996e-06/0.9862, allocations: 3.938 kB / 1.097 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.9862, allocations: 0 / 1.097 GB, free: 13.61 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002473/0.9887, allocations: 1.253 MB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9888, allocations: 8.031 kB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/0.9896, allocations: 198.5 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.9907, allocations: 0.7272 MB / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.9908, allocations: 62 kB / 1.099 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.9909, allocations: 84 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.9925, allocations: 0.9418 MB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.9925, allocations: 0 / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.9926, allocations: 39.95 kB / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.9926, allocations: 24 kB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.9943, allocations: 1.128 MB / 1.101 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.9984, allocations: 2.588 MB / 1.104 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1, allocations: 0.9188 MB / 1.105 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/1.001, allocations: 323.6 kB / 1.105 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/1.001, allocations: 28.69 kB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/1.002, allocations: 0.5198 MB / 1.106 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=85): time 2.906e-06/1.002, allocations: 0 / 1.106 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85): time 0.00308/1.005, allocations: 1.257 MB / 1.107 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.005, allocations: 196.9 kB / 1.107 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/1.006, allocations: 0.6293 MB / 1.108 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/1.006, allocations: 45.7 kB / 1.108 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/1.006, allocations: 396.5 kB / 1.108 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/1.006, allocations: 284 kB / 1.108 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/1.006, allocations: 12 kB / 1.108 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.007, allocations: 398.7 kB / 1.109 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/1.007, allocations: 273.8 kB / 1.109 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/1.008, allocations: 380 kB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/1.008, allocations: 318.9 kB / 1.11 GB, free: 276 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.008, allocations: 4 kB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001834/1.01, allocations: 0.8877 MB / 1.111 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.01, allocations: 8 kB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.01, allocations: 0 / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/1.011, allocations: 84.86 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/1.011, allocations: 183.7 kB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.013, allocations: 1.519 MB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/1.014, allocations: 103.3 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/1.014, allocations: 40.03 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005514/1.015, allocations: 275.7 kB / 1.113 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.015, allocations: 82.97 kB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.017, allocations: 1.152 MB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.017, allocations: 16 kB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.017, allocations: 0 / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.018, allocations: 7.969 kB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/1.021, allocations: 2.036 MB / 1.116 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.021, allocations: 0 / 1.116 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/1.021, allocations: 159.8 kB / 1.116 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/1.022, allocations: 84.77 kB / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/1.022, allocations: 23.98 kB / 1.116 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.024, allocations: 1.548 MB / 1.118 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.024, allocations: 0 / 1.118 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.026, allocations: 1.051 MB / 1.119 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/1.026, allocations: 299.6 kB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.026, allocations: 23.98 kB / 1.119 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/1.027, allocations: 82.12 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.027, allocations: 80.88 kB / 1.119 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/1.027, allocations: 35.97 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005996/1.028, allocations: 459 kB / 1.12 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.028, allocations: 0 / 1.12 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009214/1.029, allocations: 319.3 kB / 1.12 GB, free: 5.344 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.03, allocations: 0.5978 MB / 1.121 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.032, allocations: 0.8782 MB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.032, allocations: 0 / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/1.033, allocations: 0.5392 MB / 1.122 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.034, allocations: 263.5 kB / 1.122 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/1.038, allocations: 2.294 MB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/1.038, allocations: 1.036 MB / 1.125 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.039, allocations: 127.4 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/1.039, allocations: 0 / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of Templates: time 0.02858/1.067, allocations: 18.75 MB / 1.144 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1