Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 102.2 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.001687/0.001687, allocations: 172 kB / 16.58 MB, free: 6.402 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.651/1.651, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.151/1.151, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 12 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 83.41 MB / 0.5981 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00577/0.2451, allocations: 3.579 MB / 0.6016 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5715/0.8166, allocations: 136.7 MB / 0.7351 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.8174, allocations: 18.03 kB / 0.7351 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.818, allocations: 131.8 kB / 0.7352 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.8196, allocations: 382.4 kB / 0.7356 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.8219, allocations: 0.619 MB / 0.7362 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.8235, allocations: 1.032 MB / 0.7372 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.8246, allocations: 0.5458 MB / 0.7377 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.8253, allocations: 314.8 kB / 0.738 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.8258, allocations: 328.2 kB / 0.7383 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.8259, allocations: 21.81 kB / 0.7384 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.8269, allocations: 335.1 kB / 0.7387 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.8271, allocations: 171.3 kB / 0.7388 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.8274, allocations: 188 kB / 0.739 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.8289, allocations: 1.212 MB / 0.7402 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8289, allocations: 0 / 0.7402 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.829, allocations: 3.188 kB / 0.7402 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.829, allocations: 4 kB / 0.7402 GB, free: 8.805 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00221/0.8312, allocations: 1.183 MB / 0.7414 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8312, allocations: 10.38 kB / 0.7414 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.8328, allocations: 314.4 kB / 0.7417 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.834, allocations: 0.7023 MB / 0.7424 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.8341, allocations: 67.64 kB / 0.7424 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.8342, allocations: 87.12 kB / 0.7425 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.8362, allocations: 1.006 MB / 0.7435 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.8362, allocations: 0 / 0.7435 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.8363, allocations: 41.62 kB / 0.7435 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.8364, allocations: 23.03 kB / 0.7436 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.8386, allocations: 1.222 MB / 0.7447 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.8431, allocations: 2.613 MB / 0.7473 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.8455, allocations: 0.9279 MB / 0.7482 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.8462, allocations: 338.6 kB / 0.7485 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.8463, allocations: 32.69 kB / 0.7486 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.8473, allocations: 487.2 kB / 0.749 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 4.669e-06/0.8473, allocations: 4.875 kB / 0.749 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003306/0.8507, allocations: 1.241 MB / 0.7502 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.8508, allocations: 192.6 kB / 0.7504 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.8516, allocations: 0.5939 MB / 0.751 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.8517, allocations: 41.7 kB / 0.751 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.8521, allocations: 404.2 kB / 0.7514 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.8523, allocations: 248.3 kB / 0.7517 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.8523, allocations: 19.94 kB / 0.7517 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8525, allocations: 378.8 kB / 0.752 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.8532, allocations: 289.8 kB / 0.7523 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/0.854, allocations: 388.1 kB / 0.7527 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.8547, allocations: 330.9 kB / 0.753 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8547, allocations: 0 / 0.753 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002136/0.8569, allocations: 0.8917 MB / 0.7539 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8569, allocations: 8.094 kB / 0.7539 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8569, allocations: 0 / 0.7539 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.8575, allocations: 84.78 kB / 0.754 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.8582, allocations: 171.8 kB / 0.7541 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.8604, allocations: 1.517 MB / 0.7556 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.8612, allocations: 107.4 kB / 0.7557 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.8613, allocations: 35.92 kB / 0.7557 GB, free: 9.953 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (86): * Single equations (assignments): 85 * 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.0005309/0.8619, allocations: 266.5 kB / 0.756 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.862, allocations: 79.06 kB / 0.7561 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.8647, allocations: 1.118 MB / 0.7572 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8647, allocations: 12 kB / 0.7572 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8647, allocations: 7.938 kB / 0.7572 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8647, allocations: 7.984 kB / 0.7572 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.8685, allocations: 2.027 MB / 0.7592 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8685, allocations: 0 / 0.7592 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.8692, allocations: 171.8 kB / 0.7593 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.8697, allocations: 84.77 kB / 0.7594 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.8698, allocations: 27.92 kB / 0.7594 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.8716, allocations: 1.544 MB / 0.761 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8716, allocations: 0 / 0.761 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.8738, allocations: 1.023 MB / 0.762 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.8743, allocations: 279.8 kB / 0.7622 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.8744, allocations: 16 kB / 0.7622 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.875, allocations: 95.66 kB / 0.7623 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8752, allocations: 64.89 kB / 0.7624 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.8753, allocations: 35.98 kB / 0.7624 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006117/0.8759, allocations: 427 kB / 0.7628 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8759, allocations: 0 / 0.7628 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001045/0.8769, allocations: 311 kB / 0.7631 GB, free: 2.141 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001392/0.8783, allocations: 0.6014 MB / 0.7637 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.8804, allocations: 0.8663 MB / 0.7646 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.8804, allocations: 0 / 0.7646 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.8815, allocations: 0.5353 MB / 0.7651 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8828, allocations: 264.9 kB / 0.7653 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.8871, allocations: 2.251 MB / 0.7675 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.8879, allocations: 1.023 MB / 0.7685 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.8882, allocations: 115.4 kB / 0.7686 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.8882, allocations: 0 / 0.7686 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.02765/0.9159, allocations: 18.15 MB / 0.7864 GB, free: 10.52 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o] Error 1