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.001016/0.001016, allocations: 92.16 kB / 16.02 MB, free: 80 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.001079/0.001079, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.352 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.013/1.013, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 12 kB / 0.517 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 83.42 MB / 0.5985 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005448/0.2006, allocations: 3.775 MB / 0.6022 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5394/0.7401, allocations: 146.6 MB / 0.7454 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.7407, allocations: 14.03 kB / 0.7454 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.7412, allocations: 136.4 kB / 0.7455 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.7425, allocations: 397.7 kB / 0.7459 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.7445, allocations: 0.7126 MB / 0.7466 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.7456, allocations: 1.116 MB / 0.7477 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/0.7465, allocations: 0.651 MB / 0.7483 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.747, allocations: 318 kB / 0.7486 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.7475, allocations: 340.8 kB / 0.749 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.7476, allocations: 21.06 kB / 0.749 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.7484, allocations: 389.9 kB / 0.7494 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.7486, allocations: 178.8 kB / 0.7495 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.749, allocations: 429.5 kB / 0.7499 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.7501, allocations: 1.214 MB / 0.7511 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7501, allocations: 3.984 kB / 0.7511 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7501, allocations: 1.125 kB / 0.7511 GB, free: 15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.7502, allocations: 1.781 kB / 0.7511 GB, free: 15 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.001958/0.7521, allocations: 1.172 MB / 0.7523 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7522, allocations: 9.625 kB / 0.7523 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7533, allocations: 218.8 kB / 0.7525 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7543, allocations: 0.726 MB / 0.7532 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.7544, allocations: 69.98 kB / 0.7533 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.7545, allocations: 84 kB / 0.7534 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.7562, allocations: 0.9613 MB / 0.7543 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.7562, allocations: 7.625 kB / 0.7543 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.7563, allocations: 40 kB / 0.7543 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.7563, allocations: 21.22 kB / 0.7544 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.7581, allocations: 1.132 MB / 0.7555 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.762, allocations: 2.591 MB / 0.758 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7635, allocations: 0.8295 MB / 0.7588 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/0.7641, allocations: 291.3 kB / 0.7591 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.7647, allocations: 474.2 kB / 0.7595 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008199/0.7656, allocations: 447.2 kB / 0.76 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.7656, allocations: 0 / 0.76 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002935/0.7685, allocations: 1.112 MB / 0.761 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.7686, allocations: 188.7 kB / 0.7612 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.7693, allocations: 0.6056 MB / 0.7618 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.7694, allocations: 37.7 kB / 0.7619 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.7697, allocations: 400.2 kB / 0.7622 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.77, allocations: 248.4 kB / 0.7625 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.7701, allocations: 61.69 kB / 0.7625 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.7703, allocations: 382.7 kB / 0.7629 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.7708, allocations: 249.9 kB / 0.7631 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.7714, allocations: 343.1 kB / 0.7635 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7724, allocations: 0.5799 MB / 0.764 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7724, allocations: 0 / 0.764 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00178/0.7742, allocations: 0.8019 MB / 0.7648 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7743, allocations: 4.625 kB / 0.7648 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7743, allocations: 0 / 0.7648 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.7749, allocations: 88.8 kB / 0.7649 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.7755, allocations: 155.8 kB / 0.765 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.7775, allocations: 1.516 MB / 0.7665 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.7782, allocations: 91.42 kB / 0.7666 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.7782, allocations: 31.98 kB / 0.7666 GB, free: 15.03 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.0003993/0.7787, allocations: 261.6 kB / 0.7669 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7788, allocations: 79 kB / 0.767 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.7811, allocations: 1.003 MB / 0.7679 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.7811, allocations: 11.98 kB / 0.768 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7811, allocations: 2.875 kB / 0.768 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.7811, allocations: 7.984 kB / 0.768 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.785, allocations: 1.901 MB / 0.7698 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.7851, allocations: 3.984 kB / 0.7698 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.7857, allocations: 147.7 kB / 0.77 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/0.7862, allocations: 84.78 kB / 0.7701 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.7862, allocations: 27.98 kB / 0.7701 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.7881, allocations: 1.548 MB / 0.7716 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7881, allocations: 0 / 0.7716 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.79, allocations: 0.9335 MB / 0.7725 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.7904, allocations: 271.7 kB / 0.7728 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.7905, allocations: 20.12 kB / 0.7728 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.7912, allocations: 69.47 kB / 0.7728 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.7913, allocations: 68.84 kB / 0.7729 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.7914, allocations: 31.92 kB / 0.7729 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005431/0.7919, allocations: 439 kB / 0.7734 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7919, allocations: 0 / 0.7734 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001018/0.7929, allocations: 319.1 kB / 0.7737 GB, free: 7.594 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.001439/0.7944, allocations: 0.6119 MB / 0.7743 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7962, allocations: 0.7803 MB / 0.775 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7962, allocations: 0 / 0.775 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.7971, allocations: 0.4962 MB / 0.7755 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.7985, allocations: 273.6 kB / 0.7758 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.8034, allocations: 2.252 MB / 0.778 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/0.8043, allocations: 1.011 MB / 0.779 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.8047, allocations: 115.4 kB / 0.7791 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of SimCode: time 2.755e-06/0.8047, allocations: 0 / 0.7791 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of Templates: time 0.02711/0.8318, allocations: 17.94 MB / 0.7966 GB, free: 324 kB / 0.6075 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