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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001705/0.001713, allocations: 100.1 kB / 15.88 MB, free: 12 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.001489/0.001489, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.01/1.01, allocations: 143 MB / 433.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 0.5142 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1816, allocations: 82.04 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006076/0.1877, allocations: 4.187 MB / 0.5984 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5352/0.7229, allocations: 148.2 MB / 0.7431 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.724, allocations: 19.44 kB / 0.7431 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.7246, allocations: 129.5 kB / 0.7432 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.7263, allocations: 403.5 kB / 0.7436 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.7284, allocations: 0.7057 MB / 0.7443 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.7298, allocations: 1.126 MB / 0.7454 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009599/0.7308, allocations: 0.6858 MB / 0.7461 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.7313, allocations: 395.3 kB / 0.7464 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.7318, allocations: 473.4 kB / 0.7469 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.7319, allocations: 60.28 kB / 0.7469 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.7328, allocations: 408 kB / 0.7473 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.7331, allocations: 235.1 kB / 0.7476 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.7336, allocations: 0.4888 MB / 0.748 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.7349, allocations: 1.242 MB / 0.7493 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7349, allocations: 1.375 kB / 0.7493 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7349, allocations: 0 / 0.7493 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.7349, allocations: 0 / 0.7493 GB, free: 14.61 MB / 0.5762 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.002597/0.7376, allocations: 1.391 MB / 0.7506 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7376, allocations: 12.69 kB / 0.7506 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.7393, allocations: 295.3 kB / 0.7509 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.7404, allocations: 0.7348 MB / 0.7516 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.7404, allocations: 66 kB / 0.7517 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.7405, allocations: 88 kB / 0.7518 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.7424, allocations: 1.004 MB / 0.7527 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.7425, allocations: 4 kB / 0.7528 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.7425, allocations: 39.98 kB / 0.7528 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.7426, allocations: 23.94 kB / 0.7528 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.7449, allocations: 1.225 MB / 0.754 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.7494, allocations: 2.564 MB / 0.7565 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.7519, allocations: 0.9368 MB / 0.7574 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.7526, allocations: 335.5 kB / 0.7577 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.7527, allocations: 36.67 kB / 0.7578 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.7539, allocations: 491.2 kB / 0.7583 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.615e-06/0.7539, allocations: 0 / 0.7583 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003744/0.7576, allocations: 1.233 MB / 0.7595 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.7578, allocations: 192.5 kB / 0.7596 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.7587, allocations: 0.5939 MB / 0.7602 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.935e-05/0.7588, allocations: 45.7 kB / 0.7603 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.7592, allocations: 408.2 kB / 0.7607 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.7595, allocations: 244.4 kB / 0.7609 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.7597, allocations: 162.4 kB / 0.761 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.76, allocations: 382.7 kB / 0.7614 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/0.7607, allocations: 292.1 kB / 0.7617 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.7615, allocations: 383.1 kB / 0.762 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.763, allocations: 0.655 MB / 0.7627 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7631, allocations: 0 / 0.7627 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002478/0.7655, allocations: 0.8845 MB / 0.7636 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.7656, allocations: 4 kB / 0.7636 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.7656, allocations: 0 / 0.7636 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.7662, allocations: 84.86 kB / 0.7636 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.7671, allocations: 175.7 kB / 0.7638 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7694, allocations: 1.517 MB / 0.7653 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.7704, allocations: 99.38 kB / 0.7654 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.7705, allocations: 40.47 kB / 0.7654 GB, free: 13.84 MB / 0.5919 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000544/0.771, allocations: 258.4 kB / 0.7657 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.7712, allocations: 82.94 kB / 0.7657 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.7741, allocations: 1.105 MB / 0.7668 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.7742, allocations: 8 kB / 0.7668 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.7742, allocations: 2.5 kB / 0.7668 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.7742, allocations: 3.984 kB / 0.7668 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.7783, allocations: 2.031 MB / 0.7688 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.7783, allocations: 3.938 kB / 0.7688 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.779, allocations: 171.8 kB / 0.769 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.7796, allocations: 80.78 kB / 0.7691 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.7797, allocations: 23.98 kB / 0.7691 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.7819, allocations: 1.541 MB / 0.7706 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7819, allocations: 0 / 0.7706 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.7846, allocations: 1.023 MB / 0.7716 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.7851, allocations: 259.8 kB / 0.7718 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.7854, allocations: 23.88 kB / 0.7719 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.7862, allocations: 75.86 kB / 0.7719 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7864, allocations: 68.09 kB / 0.772 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.7865, allocations: 31.73 kB / 0.772 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007209/0.7872, allocations: 439 kB / 0.7725 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7872, allocations: 0 / 0.7725 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001329/0.7885, allocations: 311.2 kB / 0.7727 GB, free: 6.094 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/0.7904, allocations: 0.5918 MB / 0.7733 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.7929, allocations: 0.8706 MB / 0.7742 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.7929, allocations: 4 kB / 0.7742 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.7943, allocations: 0.5354 MB / 0.7747 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7959, allocations: 274.7 kB / 0.775 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.8011, allocations: 2.264 MB / 0.7772 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/0.802, allocations: 1.02 MB / 0.7782 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.8024, allocations: 115.4 kB / 0.7783 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/0.8024, allocations: 0 / 0.7783 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of Templates: time 0.02895/0.8313, allocations: 18.22 MB / 0.7961 GB, free: 14.42 MB / 0.6231 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++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -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/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 In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightnessCalcHelperMain.o] Error 1