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.0008014/0.0008015, 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.001007/0.001007, allocations: 173 kB / 16.92 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.336 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.9775/0.9775, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004637, allocations: 15.98 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1737, allocations: 83.41 MB / 0.5985 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006866/0.1806, allocations: 5.523 MB / 0.6039 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4568/0.6374, allocations: 147.5 MB / 0.748 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.6393, allocations: 19.62 kB / 0.748 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.6404, allocations: 187.1 kB / 0.7482 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.6435, allocations: 0.5114 MB / 0.7487 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.6472, allocations: 1.139 MB / 0.7498 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003633/0.6508, allocations: 2.226 MB / 0.7519 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.6534, allocations: 1.498 MB / 0.7534 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.6548, allocations: 0.695 MB / 0.7541 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.6563, allocations: 0.8236 MB / 0.7549 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004448/0.6568, allocations: 56 kB / 0.7549 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.658, allocations: 415.6 kB / 0.7553 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.6584, allocations: 366.1 kB / 0.7557 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.6593, allocations: 0.8749 MB / 0.7565 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.6619, allocations: 2.602 MB / 0.7591 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.6619, allocations: 5.594 kB / 0.7591 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6619, allocations: 0 / 0.7591 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.958e-05/0.662, allocations: 0 / 0.7591 GB, free: 7.027 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004505/0.6665, allocations: 2.093 MB / 0.7611 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6665, allocations: 12.03 kB / 0.7611 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.6825, allocations: 2.28 MB / 0.7634 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.6854, allocations: 1.197 MB / 0.7645 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.6856, allocations: 160.4 kB / 0.7647 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.686, allocations: 216 kB / 0.7649 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009896/0.6959, allocations: 3.232 MB / 0.7681 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.6961, allocations: 0 / 0.7681 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/0.6966, allocations: 88 kB / 0.7681 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.6967, allocations: 52 kB / 0.7682 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.7105, allocations: 4.247 MB / 0.7723 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.7294, allocations: 7.057 MB / 0.7792 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009492/0.739, allocations: 2.701 MB / 0.7819 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004802/0.7438, allocations: 1.444 MB / 0.7833 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009632/0.7448, allocations: 0.5074 MB / 0.7838 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005695/0.7505, allocations: 1.707 MB / 0.7854 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 6.022e-06/0.7506, allocations: 0 / 0.7854 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01631/0.7669, allocations: 4.239 MB / 0.7896 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.7671, allocations: 202.6 kB / 0.7898 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.7689, allocations: 0.8697 MB / 0.7906 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004074/0.7693, allocations: 61.7 kB / 0.7907 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/0.7701, allocations: 0.6956 MB / 0.7914 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.7711, allocations: 0.6313 MB / 0.792 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/0.7715, allocations: 137.6 kB / 0.7921 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7716, allocations: 301.1 kB / 0.7924 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/0.7761, allocations: 1.204 MB / 0.7936 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/0.7806, allocations: 1.371 MB / 0.7949 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008972/0.7896, allocations: 2.52 MB / 0.7974 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.7897, allocations: 3.938 kB / 0.7974 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01165/0.8014, allocations: 2.98 MB / 0.8003 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.8015, allocations: 4.781 kB / 0.8003 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.8015, allocations: 4.109 kB / 0.8003 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.8022, allocations: 96.7 kB / 0.8004 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/0.8062, allocations: 0.5773 MB / 0.8009 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8086, allocations: 1.521 MB / 0.8024 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.8124, allocations: 352 kB / 0.8028 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/0.813, allocations: 95.89 kB / 0.8029 GB, free: 9.473 MB / 0.6231 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.001849/0.8149, allocations: 405.4 kB / 0.8032 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006651/0.8156, allocations: 146.2 kB / 0.8034 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.8283, allocations: 3.514 MB / 0.8068 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.8283, allocations: 20 kB / 0.8068 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8283, allocations: 0 / 0.8068 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.8284, allocations: 11.95 kB / 0.8068 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.8439, allocations: 5.783 MB / 0.8125 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.844, allocations: 4 kB / 0.8125 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/0.8476, allocations: 0.55 MB / 0.813 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006142/0.8482, allocations: 88.72 kB / 0.8131 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/0.8486, allocations: 67.92 kB / 0.8132 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.8506, allocations: 1.556 MB / 0.8147 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8506, allocations: 0 / 0.8147 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.8614, allocations: 3.074 MB / 0.8177 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.8626, allocations: 0.5335 MB / 0.8182 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.8631, allocations: 40 kB / 0.8183 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/0.8661, allocations: 261.4 kB / 0.8185 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/0.8665, allocations: 133.8 kB / 0.8186 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002531/0.8668, allocations: 83.92 kB / 0.8187 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001205/0.868, allocations: 0.6388 MB / 0.8193 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.868, allocations: 0 / 0.8193 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00222/0.8702, allocations: 0.5959 MB / 0.8199 GB, free: 7.715 MB / 0.6387 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.002001/0.8722, allocations: 0.6563 MB / 0.8206 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.8825, allocations: 3.01 MB / 0.8235 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.8826, allocations: 0 / 0.8235 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/0.8878, allocations: 1.677 MB / 0.8251 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.8902, allocations: 340.4 kB / 0.8255 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.9026, allocations: 5.015 MB / 0.8304 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.9043, allocations: 1.369 MB / 0.8317 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/0.9065, allocations: 263.1 kB / 0.832 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of SimCode: time 1.463e-06/0.9066, allocations: 0 / 0.832 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.3742/1.281, allocations: 38.63 MB / 0.8697 GB, free: 203.6 MB / 0.67 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++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.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