Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001355, allocations: 107.7 kB / 16.41 MB, free: 6.457 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.001366/0.001366, allocations: 189.7 kB / 17.35 MB, free: 5.719 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 / 241 MB, free: 15.17 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.9179/0.9179, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.8 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1752, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008789/0.184, allocations: 6.046 MB / 0.6822 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6049/0.7889, allocations: 151.5 MB / 0.8301 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.7913, allocations: 23.47 kB / 0.8301 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.7926, allocations: 241.1 kB / 0.8303 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.796, allocations: 0.6258 MB / 0.831 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.8001, allocations: 1.279 MB / 0.8322 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002939/0.803, allocations: 2.432 MB / 0.8346 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.8055, allocations: 1.585 MB / 0.8361 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.8071, allocations: 1.063 MB / 0.8372 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.8091, allocations: 1.194 MB / 0.8383 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000758/0.8099, allocations: 295.3 kB / 0.8386 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.8117, allocations: 0.6764 MB / 0.8393 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.8126, allocations: 0.6328 MB / 0.8399 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.8144, allocations: 1.179 MB / 0.841 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.8189, allocations: 3.495 MB / 0.8445 GB, free: 92 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.819, allocations: 0 / 0.8445 GB, free: 92 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.819, allocations: 0 / 0.8445 GB, free: 92 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001226/0.8191, allocations: 0 / 0.8445 GB, free: 92 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006275/0.8254, allocations: 2.586 MB / 0.847 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8255, allocations: 7.406 kB / 0.847 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.8408, allocations: 2.093 MB / 0.849 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.8435, allocations: 1.224 MB / 0.8502 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.8436, allocations: 164.3 kB / 0.8504 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.8441, allocations: 208 kB / 0.8506 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008826/0.8529, allocations: 3.163 MB / 0.8537 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.853, allocations: 3.938 kB / 0.8537 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.8533, allocations: 91.94 kB / 0.8538 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.8533, allocations: 52 kB / 0.8538 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.8665, allocations: 4.099 MB / 0.8578 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.8856, allocations: 6.924 MB / 0.8646 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009282/0.8949, allocations: 2.699 MB / 0.8672 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004781/0.8998, allocations: 1.426 MB / 0.8686 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/0.9007, allocations: 0.511 MB / 0.8691 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00564/0.9064, allocations: 1.688 MB / 0.8708 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=195): time 7.464e-06/0.9064, allocations: 0 / 0.8708 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195): time 0.01671/0.9231, allocations: 4.2 MB / 0.8749 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.9233, allocations: 201.9 kB / 0.8751 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9248, allocations: 0.8619 MB / 0.8759 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004025/0.9252, allocations: 61.7 kB / 0.876 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.9259, allocations: 0.6956 MB / 0.8766 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008524/0.9268, allocations: 0.6353 MB / 0.8773 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.9278, allocations: 367.1 kB / 0.8776 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9279, allocations: 305.1 kB / 0.8779 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00437/0.9323, allocations: 1.187 MB / 0.8791 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004567/0.9369, allocations: 1.359 MB / 0.8804 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009031/0.9459, allocations: 2.493 MB / 0.8828 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.946, allocations: 0 / 0.8828 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01084/0.9568, allocations: 2.956 MB / 0.8857 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.9569, allocations: 7.938 kB / 0.8857 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9569, allocations: 4 kB / 0.8857 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.9575, allocations: 84.84 kB / 0.8858 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.9615, allocations: 0.5772 MB / 0.8864 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.9638, allocations: 1.631 MB / 0.888 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/0.9671, allocations: 335.9 kB / 0.8883 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004593/0.9676, allocations: 95.89 kB / 0.8884 GB, free: 3.648 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.001332/0.9689, allocations: 403 kB / 0.8887 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/0.9696, allocations: 146.2 kB / 0.8889 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.9816, allocations: 3.475 MB / 0.8923 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.9816, allocations: 20 kB / 0.8923 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9816, allocations: 4 kB / 0.8923 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.9817, allocations: 15.94 kB / 0.8923 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.9963, allocations: 5.762 MB / 0.8979 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.9964, allocations: 3.938 kB / 0.8979 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00355/0.9999, allocations: 0.5422 MB / 0.8985 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/1, allocations: 76.78 kB / 0.8986 GB, free: 9.117 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.001, allocations: 69.7 kB / 0.8986 GB, free: 9.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/1.003, allocations: 1.654 MB / 0.9002 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.003, allocations: 0 / 0.9002 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.013, allocations: 3.049 MB / 0.9032 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.014, allocations: 0.5102 MB / 0.9037 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/1.015, allocations: 47.84 kB / 0.9038 GB, free: 3.602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.017, allocations: 247.7 kB / 0.904 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.018, allocations: 125.8 kB / 0.9041 GB, free: 3.234 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.018, allocations: 83.91 kB / 0.9042 GB, free: 3.152 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001095/1.019, allocations: 0.6349 MB / 0.9048 GB, free: 2.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/1.019, allocations: 0 / 0.9048 GB, free: 2.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001851/1.021, allocations: 0.5959 MB / 0.9054 GB, free: 1.91 MB / 0.67 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 (210): * Single equations (assignments): 207 * 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.001697/1.023, allocations: 0.6541 MB / 0.906 GB, free: 1.43 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.033, allocations: 2.983 MB / 0.9089 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.033, allocations: 7.906 kB / 0.909 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005293/1.038, allocations: 1.658 MB / 0.9106 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.041, allocations: 365.4 kB / 0.9109 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.051, allocations: 3.955 MB / 0.9148 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.052, allocations: 1.373 MB / 0.9161 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.054, allocations: 263.1 kB / 0.9164 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/1.054, allocations: 0 / 0.9164 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of Templates: time 0.05431/1.108, allocations: 39.1 MB / 0.9546 GB, free: 15.66 MB / 0.7325 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerezCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1