Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.59 kB / 15.71 MB, free: 452 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.00157/0.00157, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.524/1.524, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 8.219 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7943, allocations: 153.7 MB / 1.022 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005337/0.7997, allocations: 3.806 MB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.9667, allocations: 136.8 MB / 1.159 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.9675, allocations: 15.94 kB / 1.159 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.968, allocations: 122.9 kB / 1.159 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.9695, allocations: 433.3 kB / 1.16 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.9714, allocations: 0.6489 MB / 1.16 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.9727, allocations: 1.155 MB / 1.161 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007651/0.9735, allocations: 499.3 kB / 1.162 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.974, allocations: 346.5 kB / 1.162 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.9745, allocations: 374 kB / 1.162 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.9746, allocations: 24 kB / 1.163 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.9754, allocations: 335.7 kB / 1.163 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.9756, allocations: 191.1 kB / 1.163 GB, free: 20 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.9758, allocations: 193.2 kB / 1.163 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.9769, allocations: 1.169 MB / 1.164 GB, free: 14.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9769, allocations: 0 / 1.164 GB, free: 14.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.977, allocations: 0 / 1.164 GB, free: 14.65 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.977, allocations: 0 / 1.164 GB, free: 14.65 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002201/0.9792, allocations: 1.24 MB / 1.166 GB, free: 13.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9792, allocations: 15.92 kB / 1.166 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.9804, allocations: 254.3 kB / 1.166 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.9815, allocations: 0.7186 MB / 1.167 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.9815, allocations: 66 kB / 1.167 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.9817, allocations: 84 kB / 1.167 GB, free: 12.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.9834, allocations: 0.9871 MB / 1.168 GB, free: 11.15 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.9834, allocations: 4 kB / 1.168 GB, free: 11.15 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-05/0.9835, allocations: 39.98 kB / 1.168 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.9835, allocations: 20 kB / 1.168 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.9854, allocations: 1.171 MB / 1.169 GB, free: 9.922 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.9899, allocations: 2.867 MB / 1.172 GB, free: 6.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.9918, allocations: 0.9572 MB / 1.173 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.9923, allocations: 306.7 kB / 1.173 GB, free: 5.688 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-05/0.9924, allocations: 29.12 kB / 1.173 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000901/0.9933, allocations: 0.5041 MB / 1.173 GB, free: 5.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=83): time 2.926e-06/0.9934, allocations: 0 / 1.173 GB, free: 5.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=83): time 0.003055/0.9964, allocations: 1.228 MB / 1.175 GB, free: 3.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.9965, allocations: 196.9 kB / 1.175 GB, free: 3.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.9974, allocations: 0.6331 MB / 1.175 GB, free: 3.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.9975, allocations: 49.64 kB / 1.175 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.9978, allocations: 400.3 kB / 1.176 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.9981, allocations: 276 kB / 1.176 GB, free: 2.281 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.9981, allocations: 16 kB / 1.176 GB, free: 2.266 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.9983, allocations: 386.8 kB / 1.176 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.9988, allocations: 277.8 kB / 1.177 GB, free: 1.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.9995, allocations: 389.6 kB / 1.177 GB, free: 1.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/1, allocations: 318.9 kB / 1.177 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1, allocations: 0 / 1.177 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001815/1.002, allocations: 0.8839 MB / 1.178 GB, free: 0 / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.002, allocations: 4.047 kB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.002, allocations: 4 kB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/1.002, allocations: 88.81 kB / 1.178 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/1.003, allocations: 175.8 kB / 1.179 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/1.005, allocations: 1.52 MB / 1.18 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007489/1.006, allocations: 112.8 kB / 1.18 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/1.006, allocations: 35.97 kB / 1.18 GB, free: 13.93 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 99 * 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.0005031/1.007, allocations: 275.5 kB / 1.18 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.007, allocations: 79.06 kB / 1.18 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.009, allocations: 1.093 MB / 1.182 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.009, allocations: 15.95 kB / 1.182 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.009, allocations: 0 / 1.182 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.009, allocations: 3.984 kB / 1.182 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/1.012, allocations: 2.094 MB / 1.184 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.012, allocations: 0 / 1.184 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/1.013, allocations: 155.8 kB / 1.184 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.013, allocations: 92.69 kB / 1.184 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/1.014, allocations: 27.98 kB / 1.184 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.015, allocations: 1.54 MB / 1.185 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.015, allocations: 0 / 1.185 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.017, allocations: 1.016 MB / 1.186 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/1.018, allocations: 291.6 kB / 1.187 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.018, allocations: 19.98 kB / 1.187 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/1.018, allocations: 87.88 kB / 1.187 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.019, allocations: 72.84 kB / 1.187 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/1.019, allocations: 39.97 kB / 1.187 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006383/1.019, allocations: 455 kB / 1.187 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.019, allocations: 0 / 1.187 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009608/1.02, allocations: 315.3 kB / 1.188 GB, free: 6.016 MB / 0.9356 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 (95): * Single equations (assignments): 89 * 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.001524/1.022, allocations: 0.5953 MB / 1.188 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001818/1.024, allocations: 0.855 MB / 1.189 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.024, allocations: 0 / 1.189 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009095/1.025, allocations: 0.5159 MB / 1.19 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.026, allocations: 271.8 kB / 1.19 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/1.03, allocations: 2.263 MB / 1.192 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.031, allocations: 1.024 MB / 1.193 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/1.031, allocations: 123.4 kB / 1.193 GB, free: 476 kB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/1.031, allocations: 0 / 1.193 GB, free: 476 kB / 0.9356 GB Notification: Performance of Templates: time 0.02907/1.06, allocations: 18.62 MB / 1.211 GB, free: 13.89 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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 11.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/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1