Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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/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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 102.1 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.001008/0.001008, allocations: 173.6 kB / 16.58 MB, free: 6.863 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.496/1.496, 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.537/2.537, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8622, allocations: 142.3 MB / 0.9544 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004481/0.8668, allocations: 3.8 MB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1822/1.049, allocations: 136.8 MB / 1.092 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/1.05, allocations: 11.94 kB / 1.092 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005428/1.051, allocations: 130.9 kB / 1.092 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/1.052, allocations: 430.8 kB / 1.092 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/1.054, allocations: 0.6434 MB / 1.093 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001344/1.055, allocations: 1.148 MB / 1.094 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/1.056, allocations: 491.3 kB / 1.094 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/1.057, allocations: 346.4 kB / 1.095 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/1.057, allocations: 375.6 kB / 1.095 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.789e-05/1.057, allocations: 32 kB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/1.058, allocations: 335.7 kB / 1.096 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/1.058, allocations: 195.1 kB / 1.096 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/1.058, allocations: 197.1 kB / 1.096 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.06, allocations: 1.173 MB / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.06, allocations: 0 / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.06, allocations: 0 / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.06, allocations: 0 / 1.097 GB, free: 13.86 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002243/1.062, allocations: 1.249 MB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.062, allocations: 8.031 kB / 1.098 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/1.063, allocations: 198.5 kB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.064, allocations: 0.7271 MB / 1.099 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/1.064, allocations: 65.94 kB / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.064, allocations: 88 kB / 1.099 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.066, allocations: 0.9379 MB / 1.1 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.066, allocations: 0 / 1.1 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/1.066, allocations: 39.94 kB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/1.066, allocations: 24 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.067, allocations: 1.124 MB / 1.101 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/1.071, allocations: 2.562 MB / 1.104 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/1.073, allocations: 0.911 MB / 1.105 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/1.073, allocations: 326.1 kB / 1.105 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-05/1.073, allocations: 24.69 kB / 1.105 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009205/1.074, allocations: 0.512 MB / 1.106 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 2.315e-06/1.074, allocations: 4 kB / 1.106 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.002983/1.077, allocations: 1.253 MB / 1.107 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.078, allocations: 192.9 kB / 1.107 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/1.078, allocations: 0.6409 MB / 1.108 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/1.078, allocations: 45.7 kB / 1.108 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.079, allocations: 396.4 kB / 1.108 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/1.079, allocations: 268.2 kB / 1.108 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/1.079, allocations: 16 kB / 1.108 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.079, allocations: 390.7 kB / 1.109 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/1.08, allocations: 277.8 kB / 1.109 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/1.08, allocations: 375 kB / 1.109 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/1.081, allocations: 318.9 kB / 1.11 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.081, allocations: 0 / 1.11 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001807/1.083, allocations: 0.8801 MB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.083, allocations: 5.25 kB / 1.111 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.083, allocations: 64 / 1.111 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/1.083, allocations: 92.86 kB / 1.111 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/1.084, allocations: 163.8 kB / 1.111 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.086, allocations: 1.527 MB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/1.087, allocations: 107.3 kB / 1.112 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/1.087, allocations: 39.97 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 98 * 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.0004549/1.087, allocations: 267.8 kB / 1.113 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.087, allocations: 86.91 kB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/1.09, allocations: 1.155 MB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.09, allocations: 12 kB / 1.114 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.09, allocations: 0 / 1.114 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.09, allocations: 3.984 kB / 1.114 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/1.093, allocations: 2.028 MB / 1.116 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.093, allocations: 7.938 kB / 1.116 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/1.094, allocations: 151.8 kB / 1.116 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/1.094, allocations: 88.7 kB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/1.094, allocations: 27.98 kB / 1.116 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.096, allocations: 1.552 MB / 1.118 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.096, allocations: 0 / 1.118 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/1.098, allocations: 1.043 MB / 1.119 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/1.099, allocations: 295.6 kB / 1.119 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.099, allocations: 23.98 kB / 1.119 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/1.099, allocations: 80.55 kB / 1.119 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.1, allocations: 76.88 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/1.1, allocations: 39.97 kB / 1.119 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000627/1.1, allocations: 463 kB / 1.12 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.1, allocations: 0 / 1.12 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009371/1.101, allocations: 315.3 kB / 1.12 GB, free: 5.676 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 (99): * Single equations (assignments): 92 * 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.001432/1.103, allocations: 0.6066 MB / 1.12 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.104, allocations: 0.8586 MB / 1.121 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.105, allocations: 3.938 kB / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/1.105, allocations: 0.5356 MB / 1.122 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.107, allocations: 258.7 kB / 1.122 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/1.111, allocations: 2.283 MB / 1.124 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/1.112, allocations: 1.036 MB / 1.125 GB, free: 208 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/1.112, allocations: 115.4 kB / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of SimCode: time 1.683e-06/1.112, allocations: 0 / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of Templates: time 0.02726/1.139, allocations: 18.71 MB / 1.144 GB, free: 13.43 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngleCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1