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.001212/0.001212, allocations: 111 kB / 15.99 MB, free: 6.344 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.001269/0.001268, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.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.9035/0.9035, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 0.5143 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3714, allocations: 82.03 MB / 0.5944 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004726/0.3762, allocations: 4.196 MB / 0.5985 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.155/0.5312, allocations: 148.3 MB / 0.7434 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.5322, allocations: 19.88 kB / 0.7434 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.5331, allocations: 135 kB / 0.7435 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.5351, allocations: 428.6 kB / 0.7439 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.5374, allocations: 0.729 MB / 0.7447 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.5391, allocations: 1.195 MB / 0.7458 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5404, allocations: 0.6866 MB / 0.7465 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.5412, allocations: 462.3 kB / 0.7469 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.542, allocations: 486.6 kB / 0.7474 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.5422, allocations: 116 kB / 0.7475 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.5433, allocations: 479.6 kB / 0.748 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.5436, allocations: 287 kB / 0.7482 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.5442, allocations: 0.544 MB / 0.7488 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.5457, allocations: 1.255 MB / 0.75 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5457, allocations: 0 / 0.75 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5457, allocations: 0 / 0.75 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5458, allocations: 0 / 0.75 GB, free: 0.7617 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.3167/0.8625, allocations: 1.384 MB / 0.7513 GB, free: 157 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.8626, allocations: 12.38 kB / 0.7514 GB, free: 157 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.8638, allocations: 203.3 kB / 0.7516 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.8648, allocations: 0.7251 MB / 0.7523 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.8649, allocations: 70.66 kB / 0.7523 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.865, allocations: 86.19 kB / 0.7524 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.8667, allocations: 0.958 MB / 0.7533 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.8668, allocations: 0 / 0.7533 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.8669, allocations: 43.69 kB / 0.7534 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.8669, allocations: 21.98 kB / 0.7534 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.8687, allocations: 1.122 MB / 0.7545 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.8725, allocations: 2.553 MB / 0.757 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8739, allocations: 0.8257 MB / 0.7578 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.8745, allocations: 284.1 kB / 0.7581 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.8751, allocations: 475.1 kB / 0.7585 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/0.8759, allocations: 442.2 kB / 0.7589 GB, free: 153 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.8759, allocations: 1.5 kB / 0.7589 GB, free: 153 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003073/0.879, allocations: 1.095 MB / 0.76 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.8791, allocations: 194.3 kB / 0.7602 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.8799, allocations: 0.6066 MB / 0.7608 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.8799, allocations: 41.39 kB / 0.7608 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.8802, allocations: 397.9 kB / 0.7612 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.8803, allocations: 242.6 kB / 0.7614 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.8806, allocations: 154.9 kB / 0.7616 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.8807, allocations: 381 kB / 0.762 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.8812, allocations: 241.1 kB / 0.7622 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.8819, allocations: 337.6 kB / 0.7625 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8831, allocations: 0.5659 MB / 0.7631 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8831, allocations: 5.281 kB / 0.7631 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001877/0.885, allocations: 0.7997 MB / 0.7638 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.885, allocations: 5.438 kB / 0.7639 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8851, allocations: 2.438 kB / 0.7639 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.8857, allocations: 76.56 kB / 0.7639 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.8864, allocations: 154.3 kB / 0.7641 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.8881, allocations: 1.63 MB / 0.7657 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.8887, allocations: 86.36 kB / 0.7657 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.8887, allocations: 31.98 kB / 0.7658 GB, free: 147.9 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 (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.000304/0.8891, allocations: 257.7 kB / 0.766 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8892, allocations: 75.59 kB / 0.7661 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.8912, allocations: 0.9995 MB / 0.7671 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8912, allocations: 8 kB / 0.7671 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.8913, allocations: 0.6562 kB / 0.7671 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.8913, allocations: 5.047 kB / 0.7671 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.894, allocations: 1.9 MB / 0.7689 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.894, allocations: 0 / 0.7689 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.8946, allocations: 144 kB / 0.7691 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.895, allocations: 81.05 kB / 0.7692 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.895, allocations: 23.98 kB / 0.7692 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.8965, allocations: 1.661 MB / 0.7708 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8965, allocations: 0 / 0.7708 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.8981, allocations: 0.9263 MB / 0.7717 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.8984, allocations: 263.1 kB / 0.772 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.8985, allocations: 12 kB / 0.772 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.8991, allocations: 55.94 kB / 0.772 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8992, allocations: 60.86 kB / 0.7721 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.8993, allocations: 32.08 kB / 0.7721 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004502/0.8997, allocations: 442 kB / 0.7725 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8998, allocations: 0 / 0.7725 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008194/0.9006, allocations: 315.7 kB / 0.7728 GB, free: 140.5 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 (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.001432/0.902, allocations: 0.6116 MB / 0.7734 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.904, allocations: 0.9645 MB / 0.7744 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.904, allocations: 3.938 kB / 0.7744 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.9048, allocations: 496.5 kB / 0.7748 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9059, allocations: 302.5 kB / 0.7751 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.9095, allocations: 2.197 MB / 0.7773 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.91, allocations: 1.018 MB / 0.7783 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.9103, allocations: 111.4 kB / 0.7784 GB, free: 135 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.9103, allocations: 4 kB / 0.7784 GB, free: 135 MB / 0.5762 GB Notification: Performance of Templates: time 0.02259/0.9329, allocations: 18.06 MB / 0.796 GB, free: 117 MB / 0.5762 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