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.00144/0.00144, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001569/0.001569, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.13 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.876/0.876, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 60.8 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1903, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006894/0.1973, allocations: 4.189 MB / 0.6804 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6077/0.805, allocations: 150.5 MB / 0.8274 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.806, allocations: 24.91 kB / 0.8274 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.8068, allocations: 172.1 kB / 0.8276 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.809, allocations: 472 kB / 0.828 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.8115, allocations: 0.8273 MB / 0.8288 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.8133, allocations: 1.21 MB / 0.83 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.8146, allocations: 0.6799 MB / 0.8307 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007825/0.8153, allocations: 470.1 kB / 0.8311 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.8159, allocations: 479.7 kB / 0.8316 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.8161, allocations: 110.6 kB / 0.8317 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009943/0.8171, allocations: 0.5017 MB / 0.8322 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.8173, allocations: 285.2 kB / 0.8325 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.8178, allocations: 0.5287 MB / 0.833 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.8197, allocations: 1.668 MB / 0.8346 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8197, allocations: 2.562 kB / 0.8346 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8197, allocations: 0 / 0.8346 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.8197, allocations: 0 / 0.8346 GB, free: 7.625 MB / 0.6075 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.002306/0.822, allocations: 1.389 MB / 0.836 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8221, allocations: 10.09 kB / 0.836 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.8232, allocations: 212.8 kB / 0.8362 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.8243, allocations: 0.7483 MB / 0.8369 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.8243, allocations: 69.09 kB / 0.837 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8244, allocations: 88.53 kB / 0.8371 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.826, allocations: 0.948 MB / 0.838 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.826, allocations: 0 / 0.838 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/0.8261, allocations: 38.16 kB / 0.838 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.8261, allocations: 19.66 kB / 0.838 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.8278, allocations: 1.134 MB / 0.8392 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.8315, allocations: 2.525 MB / 0.8416 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.833, allocations: 0.8148 MB / 0.8424 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.8335, allocations: 289.4 kB / 0.8427 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.8342, allocations: 469.5 kB / 0.8431 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000788/0.835, allocations: 444.1 kB / 0.8436 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.835, allocations: 0 / 0.8436 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.00292/0.8379, allocations: 1.099 MB / 0.8446 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.838, allocations: 190.7 kB / 0.8448 GB, free: 424 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.8388, allocations: 0.5974 MB / 0.8454 GB, free: 64 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.8388, allocations: 42.73 kB / 0.8454 GB, free: 20 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.8392, allocations: 399.7 kB / 0.8458 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.8394, allocations: 250.9 kB / 0.8461 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.8396, allocations: 146.9 kB / 0.8462 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8397, allocations: 382.7 kB / 0.8466 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.8403, allocations: 249.6 kB / 0.8468 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.8408, allocations: 339 kB / 0.8471 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.8419, allocations: 0.5721 MB / 0.8477 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8419, allocations: 0 / 0.8477 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001797/0.8437, allocations: 0.7902 MB / 0.8485 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.8438, allocations: 5.875 kB / 0.8485 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8438, allocations: 4 kB / 0.8485 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.8444, allocations: 80.86 kB / 0.8485 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.845, allocations: 151.7 kB / 0.8487 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.8471, allocations: 1.633 MB / 0.8503 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.8477, allocations: 83.36 kB / 0.8504 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.8478, allocations: 36.03 kB / 0.8504 GB, free: 10.83 MB / 0.6231 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.000411/0.8482, allocations: 265.4 kB / 0.8507 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.8484, allocations: 75.06 kB / 0.8507 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.8506, allocations: 0.9927 MB / 0.8517 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.8506, allocations: 8 kB / 0.8517 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8506, allocations: 3.984 kB / 0.8517 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.8507, allocations: 11.92 kB / 0.8517 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.8537, allocations: 1.889 MB / 0.8536 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8537, allocations: 3.938 kB / 0.8536 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.8543, allocations: 147.8 kB / 0.8537 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.8547, allocations: 72.78 kB / 0.8538 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.8548, allocations: 19.98 kB / 0.8538 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.8566, allocations: 1.666 MB / 0.8554 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8566, allocations: 0 / 0.8554 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.8584, allocations: 0.9238 MB / 0.8563 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.8587, allocations: 259.8 kB / 0.8566 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8589, allocations: 16 kB / 0.8566 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.8595, allocations: 55.94 kB / 0.8566 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.8596, allocations: 60.91 kB / 0.8567 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.8597, allocations: 27.98 kB / 0.8567 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006194/0.8603, allocations: 439 kB / 0.8571 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8603, allocations: 4 kB / 0.8571 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001012/0.8613, allocations: 319.1 kB / 0.8574 GB, free: 3.344 MB / 0.6231 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.00155/0.8629, allocations: 0.6036 MB / 0.858 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.8646, allocations: 0.7772 MB / 0.8588 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8646, allocations: 3.938 kB / 0.8588 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.8655, allocations: 0.4924 MB / 0.8593 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.8667, allocations: 300.8 kB / 0.8596 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.8704, allocations: 1.745 MB / 0.8613 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.8709, allocations: 1.015 MB / 0.8623 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.8712, allocations: 111.4 kB / 0.8624 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.8712, allocations: 0 / 0.8624 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.02445/0.8957, allocations: 18.17 MB / 0.8801 GB, free: 12.31 MB / 0.6544 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++17 -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