Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001445/0.001445, 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.001882/0.001882, allocations: 195.6 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.641 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 0.9968/0.9968, allocations: 143 MB / 433.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.5142 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1867, allocations: 82.03 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006109/0.1929, allocations: 4.195 MB / 0.5984 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5577/0.7506, allocations: 148.2 MB / 0.7431 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/0.7516, allocations: 18.28 kB / 0.7431 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.7523, allocations: 132.8 kB / 0.7433 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.7541, allocations: 401.8 kB / 0.7436 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.7563, allocations: 0.7088 MB / 0.7443 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.7581, allocations: 1.126 MB / 0.7454 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7592, allocations: 0.666 MB / 0.7461 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007895/0.76, allocations: 403.5 kB / 0.7465 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.7606, allocations: 456.7 kB / 0.7469 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.7608, allocations: 59.72 kB / 0.747 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.7619, allocations: 422 kB / 0.7474 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.7622, allocations: 238.6 kB / 0.7476 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.7627, allocations: 489.8 kB / 0.7481 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.7643, allocations: 1.242 MB / 0.7493 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7643, allocations: 1 kB / 0.7493 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7643, allocations: 0 / 0.7493 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.7644, allocations: 0 / 0.7493 GB, free: 14.71 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002857/0.7672, allocations: 1.394 MB / 0.7506 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.7673, allocations: 12.03 kB / 0.7506 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7685, allocations: 207.3 kB / 0.7508 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.7697, allocations: 0.7238 MB / 0.7515 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.7697, allocations: 66 kB / 0.7516 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7699, allocations: 91.94 kB / 0.7517 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.7716, allocations: 0.9535 MB / 0.7526 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.7717, allocations: 0 / 0.7526 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.7718, allocations: 40 kB / 0.7527 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.7718, allocations: 24.56 kB / 0.7527 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.7737, allocations: 1.12 MB / 0.7538 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.7783, allocations: 2.553 MB / 0.7563 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.7799, allocations: 0.8276 MB / 0.7571 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.7804, allocations: 288.3 kB / 0.7574 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/0.7811, allocations: 470.2 kB / 0.7578 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009805/0.7821, allocations: 440.2 kB / 0.7582 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.487e-06/0.7821, allocations: 0 / 0.7582 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003159/0.7853, allocations: 1.096 MB / 0.7593 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.7854, allocations: 192.6 kB / 0.7595 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/0.7864, allocations: 0.6018 MB / 0.7601 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.7865, allocations: 45.64 kB / 0.7601 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.7868, allocations: 404.2 kB / 0.7605 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.7871, allocations: 240.5 kB / 0.7607 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.7873, allocations: 150.4 kB / 0.7609 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.7875, allocations: 391.8 kB / 0.7612 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.7881, allocations: 241.9 kB / 0.7615 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.7887, allocations: 335.1 kB / 0.7618 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.7905, allocations: 0.5682 MB / 0.7624 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.7905, allocations: 0 / 0.7624 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003381/0.7939, allocations: 0.7903 MB / 0.7631 GB, free: 280 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.794, allocations: 11.98 kB / 0.7631 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.794, allocations: 0 / 0.7631 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008586/0.7949, allocations: 80.88 kB / 0.7632 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.7959, allocations: 152.3 kB / 0.7634 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.799, allocations: 1.521 MB / 0.7648 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8002, allocations: 87.39 kB / 0.7649 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.8003, allocations: 35.97 kB / 0.765 GB, free: 14.26 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 (84): * Single equations (assignments): 83 * 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.0008416/0.8012, allocations: 255.5 kB / 0.7652 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.8016, allocations: 79 kB / 0.7653 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.8054, allocations: 0.9994 MB / 0.7663 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.8054, allocations: 8 kB / 0.7663 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8054, allocations: 0 / 0.7663 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.8055, allocations: 3.984 kB / 0.7663 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/0.8109, allocations: 1.901 MB / 0.7681 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.8109, allocations: 0 / 0.7681 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/0.8118, allocations: 147.8 kB / 0.7683 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006591/0.8124, allocations: 88.7 kB / 0.7684 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.8125, allocations: 19.98 kB / 0.7684 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.8151, allocations: 1.536 MB / 0.7699 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8151, allocations: 3.938 kB / 0.7699 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.8183, allocations: 0.9335 MB / 0.7708 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.8189, allocations: 255.8 kB / 0.771 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.8192, allocations: 20 kB / 0.771 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.8201, allocations: 51.94 kB / 0.7711 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.8203, allocations: 60.86 kB / 0.7712 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.8205, allocations: 27.98 kB / 0.7712 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009948/0.8215, allocations: 446.8 kB / 0.7716 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8215, allocations: 0 / 0.7716 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001594/0.8231, allocations: 319.1 kB / 0.7719 GB, free: 6.898 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 (84): * Single equations (assignments): 81 * 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.00223/0.8254, allocations: 0.6115 MB / 0.7725 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.8282, allocations: 0.7731 MB / 0.7733 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.8282, allocations: 0 / 0.7733 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.8298, allocations: 496.3 kB / 0.7737 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.8322, allocations: 273.7 kB / 0.774 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.8383, allocations: 2.197 MB / 0.7761 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009164/0.8392, allocations: 1.015 MB / 0.7771 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.8397, allocations: 107.4 kB / 0.7772 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/0.8397, allocations: 0 / 0.7772 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of Templates: time 0.03822/0.8779, allocations: 18.06 MB / 0.7949 GB, free: 15.61 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearnessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1