Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008791, allocations: 91.91 kB / 16.33 MB, free: 6.41 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.000965/0.000965, allocations: 182.9 kB / 17.22 MB, free: 6.285 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.483/1.483, 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.7775/0.7775, allocations: 114.4 MB / 406.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004273, allocations: 8 kB / 494.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1892, allocations: 77.26 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005038/0.1942, allocations: 3.795 MB / 0.562 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6273/0.8216, allocations: 136.8 MB / 0.6956 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.8225, allocations: 19.88 kB / 0.6957 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.823, allocations: 134.9 kB / 0.6958 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.8245, allocations: 422.6 kB / 0.6962 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.8265, allocations: 0.6515 MB / 0.6968 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.8279, allocations: 1.137 MB / 0.6979 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.8288, allocations: 0.5534 MB / 0.6985 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.8294, allocations: 342.4 kB / 0.6988 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.83, allocations: 374 kB / 0.6992 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.83, allocations: 28 kB / 0.6992 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009105/0.831, allocations: 359.6 kB / 0.6995 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.8312, allocations: 187.1 kB / 0.6997 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.8314, allocations: 205.1 kB / 0.6999 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.8329, allocations: 1.231 MB / 0.7011 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8329, allocations: 0 / 0.7011 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.833, allocations: 0 / 0.7011 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.833, allocations: 0 / 0.7011 GB, free: 7.469 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002397/0.8354, allocations: 1.279 MB / 0.7023 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8354, allocations: 8.031 kB / 0.7024 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.8365, allocations: 222.4 kB / 0.7026 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.8378, allocations: 0.7302 MB / 0.7033 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.8378, allocations: 74 kB / 0.7034 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.838, allocations: 91.95 kB / 0.7034 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.8399, allocations: 1.016 MB / 0.7044 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.84, allocations: 0 / 0.7044 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/0.8401, allocations: 44 kB / 0.7045 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.8401, allocations: 23.98 kB / 0.7045 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.8423, allocations: 1.175 MB / 0.7056 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.8474, allocations: 2.732 MB / 0.7083 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.8492, allocations: 0.9151 MB / 0.7092 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.8498, allocations: 320.3 kB / 0.7095 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.8505, allocations: 478.1 kB / 0.71 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009694/0.8515, allocations: 0.4914 MB / 0.7104 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.8515, allocations: 4 kB / 0.7104 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.003251/0.8547, allocations: 1.237 MB / 0.7117 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8549, allocations: 192.6 kB / 0.7118 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.8559, allocations: 0.6409 MB / 0.7125 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.856, allocations: 45.7 kB / 0.7125 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.8564, allocations: 420.3 kB / 0.7129 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.8568, allocations: 264.2 kB / 0.7132 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.8568, allocations: 12 kB / 0.7132 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.8571, allocations: 386.8 kB / 0.7135 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.8578, allocations: 277.8 kB / 0.7138 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.8584, allocations: 383.1 kB / 0.7142 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.8591, allocations: 314.9 kB / 0.7145 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8592, allocations: 0 / 0.7145 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00203/0.8612, allocations: 0.8761 MB / 0.7153 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.8612, allocations: 4.094 kB / 0.7153 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.8612, allocations: 8 kB / 0.7153 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.8618, allocations: 80.72 kB / 0.7154 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.8625, allocations: 167.8 kB / 0.7156 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.8646, allocations: 1.521 MB / 0.7171 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.8653, allocations: 107.2 kB / 0.7172 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.8654, allocations: 39.97 kB / 0.7172 GB, free: 6.371 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.0005321/0.8659, allocations: 279 kB / 0.7175 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8661, allocations: 86.91 kB / 0.7176 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.8685, allocations: 1.108 MB / 0.7186 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.8685, allocations: 8 kB / 0.7186 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8685, allocations: 0 / 0.7186 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.8686, allocations: 3.984 kB / 0.7186 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.872, allocations: 2.017 MB / 0.7206 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.872, allocations: 4 kB / 0.7206 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.8726, allocations: 147.8 kB / 0.7208 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.8731, allocations: 84.77 kB / 0.7208 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.8731, allocations: 23.98 kB / 0.7209 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.875, allocations: 1.552 MB / 0.7224 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.875, allocations: 0 / 0.7224 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.8771, allocations: 1.016 MB / 0.7234 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.8777, allocations: 291.6 kB / 0.7236 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.8779, allocations: 20 kB / 0.7237 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.8788, allocations: 81.75 kB / 0.7237 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.879, allocations: 80.89 kB / 0.7238 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.8791, allocations: 31.98 kB / 0.7239 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007627/0.8799, allocations: 463 kB / 0.7243 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8799, allocations: 3.938 kB / 0.7243 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001141/0.881, allocations: 339.1 kB / 0.7246 GB, free: 14.51 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 (93): * Single equations (assignments): 87 * 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.001644/0.8827, allocations: 0.6158 MB / 0.7252 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.8847, allocations: 0.8548 MB / 0.7261 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8847, allocations: 8 kB / 0.7261 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8858, allocations: 0.5159 MB / 0.7266 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.887, allocations: 258 kB / 0.7268 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.8914, allocations: 2.335 MB / 0.7291 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.8921, allocations: 1.047 MB / 0.7301 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.8925, allocations: 115.4 kB / 0.7302 GB, free: 8.871 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8925, allocations: 0 / 0.7302 GB, free: 8.871 MB / 0.545 GB Notification: Performance of Templates: time 0.0277/0.9202, allocations: 19.22 MB / 0.749 GB, free: 5.711 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearnessCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1