Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001093, allocations: 92.92 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.001192/0.001192, allocations: 189.6 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.609/1.609, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 114.4 MB / 406.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.594 kB / 494.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 77.26 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006515/0.2089, allocations: 4.606 MB / 0.5628 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5625/0.7714, allocations: 137.1 MB / 0.6967 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7728, allocations: 19.88 kB / 0.6968 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.7734, allocations: 150.7 kB / 0.6969 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.7755, allocations: 0.5179 MB / 0.6974 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.7781, allocations: 0.7422 MB / 0.6981 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.7805, allocations: 1.557 MB / 0.6997 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.7819, allocations: 0.9224 MB / 0.7006 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.7829, allocations: 497.5 kB / 0.701 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008193/0.7838, allocations: 0.5399 MB / 0.7016 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.7839, allocations: 36 kB / 0.7016 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.7851, allocations: 343.7 kB / 0.7019 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.7855, allocations: 270.7 kB / 0.7022 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.7858, allocations: 296.8 kB / 0.7025 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.7879, allocations: 1.878 MB / 0.7043 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7879, allocations: 3.938 kB / 0.7043 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7879, allocations: 0 / 0.7043 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.7879, allocations: 0 / 0.7043 GB, free: 3.941 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003105/0.791, allocations: 1.675 MB / 0.7059 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7911, allocations: 11.97 kB / 0.7059 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.792, allocations: 265.6 kB / 0.7062 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.7933, allocations: 0.9344 MB / 0.7071 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.7935, allocations: 152.8 kB / 0.7073 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.7937, allocations: 152 kB / 0.7074 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.7964, allocations: 1.583 MB / 0.7089 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.7965, allocations: 7.938 kB / 0.709 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.7966, allocations: 64 kB / 0.709 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.7966, allocations: 36 kB / 0.7091 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.7991, allocations: 1.592 MB / 0.7106 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006198/0.8053, allocations: 4.289 MB / 0.7148 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.8071, allocations: 1.087 MB / 0.7159 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.8078, allocations: 434.7 kB / 0.7163 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.967e-05/0.8079, allocations: 49.08 kB / 0.7163 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.8091, allocations: 0.6958 MB / 0.717 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=111): time 2.996e-06/0.8091, allocations: 0 / 0.717 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=111): time 0.003504/0.8126, allocations: 1.661 MB / 0.7186 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.8127, allocations: 192.9 kB / 0.7188 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.8138, allocations: 0.8375 MB / 0.7196 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.8139, allocations: 49.7 kB / 0.7197 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.8144, allocations: 0.6129 MB / 0.7203 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.8146, allocations: 358.8 kB / 0.7206 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.8147, allocations: 23.94 kB / 0.7206 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8149, allocations: 353.9 kB / 0.721 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.8156, allocations: 394.4 kB / 0.7213 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.8164, allocations: 0.5072 MB / 0.7218 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.8171, allocations: 454.3 kB / 0.7223 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.8172, allocations: 0 / 0.7223 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002381/0.8195, allocations: 1.207 MB / 0.7235 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.8196, allocations: 4 kB / 0.7235 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8196, allocations: 4 kB / 0.7235 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.8202, allocations: 84.83 kB / 0.7235 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.8211, allocations: 227.7 kB / 0.7238 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.8232, allocations: 1.541 MB / 0.7253 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.8242, allocations: 154.3 kB / 0.7254 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.8243, allocations: 51.95 kB / 0.7255 GB, free: 13.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.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 (135): * Single equations (assignments): 134 * 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.0006778/0.825, allocations: 351.9 kB / 0.7258 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.8251, allocations: 114.5 kB / 0.7259 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.8283, allocations: 1.547 MB / 0.7274 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8283, allocations: 12 kB / 0.7274 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8283, allocations: 0 / 0.7274 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.8284, allocations: 11.97 kB / 0.7274 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.83, allocations: 1.372 MB / 0.7288 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.83, allocations: 0 / 0.7288 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.8308, allocations: 203.7 kB / 0.729 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.8313, allocations: 80.78 kB / 0.729 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.8314, allocations: 39.97 kB / 0.7291 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.8332, allocations: 1.552 MB / 0.7306 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8333, allocations: 0 / 0.7306 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.8356, allocations: 1.285 MB / 0.7319 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.8362, allocations: 383 kB / 0.7322 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.8364, allocations: 27.98 kB / 0.7322 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.8371, allocations: 103.9 kB / 0.7323 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.8373, allocations: 109 kB / 0.7325 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/0.8374, allocations: 47.97 kB / 0.7325 GB, free: 6.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008335/0.8382, allocations: 0.6135 MB / 0.7331 GB, free: 5.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8383, allocations: 0 / 0.7331 GB, free: 5.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001206/0.8395, allocations: 450.5 kB / 0.7335 GB, free: 5.188 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001408/0.8409, allocations: 0.6106 MB / 0.7341 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.843, allocations: 1.146 MB / 0.7352 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.843, allocations: 0 / 0.7352 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.8441, allocations: 0.6895 MB / 0.7359 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.8452, allocations: 277.3 kB / 0.7362 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.8507, allocations: 3.283 MB / 0.7394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009282/0.8516, allocations: 1.224 MB / 0.7406 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.8521, allocations: 163.3 kB / 0.7407 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.8521, allocations: 0 / 0.7407 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.03902/0.8912, allocations: 26.62 MB / 0.7667 GB, free: 3.367 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1