Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00103/0.00103, allocations: 90.78 kB / 16.33 MB, free: 6.871 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.001724/0.001724, allocations: 188.4 kB / 17.23 MB, free: 6.699 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.521/1.521, allocations: 223.2 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7526/0.7526, allocations: 114.3 MB / 406.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003465, allocations: 8 kB / 494.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 77.26 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005018/0.2003, allocations: 3.764 MB / 0.562 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6207/0.821, allocations: 136.8 MB / 0.6956 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.8219, allocations: 19.88 kB / 0.6956 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.8225, allocations: 127 kB / 0.6957 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.8239, allocations: 421.6 kB / 0.6961 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.8259, allocations: 0.6363 MB / 0.6967 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.8273, allocations: 1.129 MB / 0.6978 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.8281, allocations: 0.5388 MB / 0.6983 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.8287, allocations: 342.4 kB / 0.6987 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.8292, allocations: 370 kB / 0.699 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.8292, allocations: 32 kB / 0.6991 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.83, allocations: 331.7 kB / 0.6994 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.8303, allocations: 187.1 kB / 0.6996 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.8305, allocations: 205.1 kB / 0.6997 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.8317, allocations: 1.22 MB / 0.7009 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.8318, allocations: 3.938 kB / 0.7009 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8318, allocations: 3.938 kB / 0.7009 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.8318, allocations: 0 / 0.7009 GB, free: 7.523 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002339/0.8341, allocations: 1.255 MB / 0.7022 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8342, allocations: 15.95 kB / 0.7022 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8353, allocations: 226.4 kB / 0.7024 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8363, allocations: 0.7263 MB / 0.7031 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.8364, allocations: 78 kB / 0.7032 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.8365, allocations: 91.95 kB / 0.7033 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.8384, allocations: 1.003 MB / 0.7043 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.8384, allocations: 7.938 kB / 0.7043 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.8385, allocations: 43.98 kB / 0.7043 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.8385, allocations: 24 kB / 0.7043 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.8404, allocations: 1.167 MB / 0.7055 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.8447, allocations: 2.663 MB / 0.7081 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.847, allocations: 0.9733 MB / 0.709 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.8475, allocations: 306.7 kB / 0.7093 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.43e-05/0.8477, allocations: 38.23 kB / 0.7093 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/0.8486, allocations: 0.4991 MB / 0.7098 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.8486, allocations: 0 / 0.7098 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.003024/0.8517, allocations: 1.233 MB / 0.711 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8518, allocations: 188.6 kB / 0.7112 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.8527, allocations: 0.6332 MB / 0.7118 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.8528, allocations: 41.7 kB / 0.7119 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.8532, allocations: 424.2 kB / 0.7123 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.8535, allocations: 276.1 kB / 0.7125 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.8536, allocations: 12 kB / 0.7126 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.8538, allocations: 386.8 kB / 0.7129 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.8544, allocations: 277.8 kB / 0.7132 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.855, allocations: 371.1 kB / 0.7135 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.8556, allocations: 314.9 kB / 0.7138 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8556, allocations: 0 / 0.7138 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001935/0.8576, allocations: 0.8721 MB / 0.7147 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.8576, allocations: 8 kB / 0.7147 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.8576, allocations: 0 / 0.7147 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/0.8582, allocations: 84.86 kB / 0.7148 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.8588, allocations: 179.7 kB / 0.715 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.861, allocations: 1.509 MB / 0.7164 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.8617, allocations: 110.7 kB / 0.7165 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.8618, allocations: 42.97 kB / 0.7166 GB, free: 7.016 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (96): * Single equations (assignments): 95 * 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.0005345/0.8623, allocations: 279.3 kB / 0.7168 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.8625, allocations: 86.92 kB / 0.7169 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.8649, allocations: 1.106 MB / 0.718 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8649, allocations: 8 kB / 0.718 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.8649, allocations: 0 / 0.718 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.8649, allocations: 3.984 kB / 0.718 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.8685, allocations: 2.025 MB / 0.72 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8685, allocations: 4 kB / 0.72 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.8691, allocations: 151.8 kB / 0.7201 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.8696, allocations: 80.78 kB / 0.7202 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.8696, allocations: 27.97 kB / 0.7202 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8715, allocations: 1.544 MB / 0.7218 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8715, allocations: 0 / 0.7218 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.8736, allocations: 1.027 MB / 0.7228 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.874, allocations: 283.6 kB / 0.723 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.8742, allocations: 24 kB / 0.7231 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.8748, allocations: 88.03 kB / 0.7231 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.875, allocations: 68.89 kB / 0.7232 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.875, allocations: 39.97 kB / 0.7232 GB, free: 15.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006234/0.8757, allocations: 459 kB / 0.7237 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.8757, allocations: 0 / 0.7237 GB, free: 15.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009764/0.8767, allocations: 331 kB / 0.724 GB, free: 15.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001414/0.8781, allocations: 0.6045 MB / 0.7246 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.8799, allocations: 0.8509 MB / 0.7254 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.8799, allocations: 4 kB / 0.7254 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009548/0.8808, allocations: 0.5237 MB / 0.7259 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.882, allocations: 240.7 kB / 0.7262 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.8864, allocations: 2.334 MB / 0.7284 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.8871, allocations: 1.039 MB / 0.7295 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.8875, allocations: 115.4 kB / 0.7296 GB, free: 9.566 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.8875, allocations: 3.938 kB / 0.7296 GB, free: 9.562 MB / 0.545 GB Notification: Performance of Templates: time 0.02996/0.9175, allocations: 18.99 MB / 0.7481 GB, free: 6.625 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/IBPSA 4.0.0-master/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/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1