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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001672/0.001672, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.001832/0.001832, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.636/1.636, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8918/0.8918, allocations: 143.3 MB / 434.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.88 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3843, allocations: 82.03 MB / 0.5952 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006814/0.3911, allocations: 6.043 MB / 0.6011 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1833/0.5744, allocations: 151.5 MB / 0.749 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5756, allocations: 23.88 kB / 0.749 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.5763, allocations: 249.4 kB / 0.7492 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.5782, allocations: 0.6198 MB / 0.7498 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.5811, allocations: 1.283 MB / 0.7511 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.394/0.9751, allocations: 2.396 MB / 0.7534 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/0.9782, allocations: 1.59 MB / 0.755 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.9803, allocations: 1.046 MB / 0.756 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.982, allocations: 1.18 MB / 0.7572 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.9825, allocations: 297.3 kB / 0.7575 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.984, allocations: 0.6463 MB / 0.7581 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.9848, allocations: 0.6437 MB / 0.7587 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.9861, allocations: 1.17 MB / 0.7599 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.9904, allocations: 3.427 MB / 0.7632 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9904, allocations: 3.656 kB / 0.7632 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9904, allocations: 1.312 kB / 0.7632 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.339e-05/0.9905, allocations: 0 / 0.7632 GB, free: 1.715 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.006808/0.9973, allocations: 2.588 MB / 0.7657 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9974, allocations: 11.5 kB / 0.7657 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/1.014, allocations: 2.092 MB / 0.7678 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/1.017, allocations: 1.2 MB / 0.769 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/1.017, allocations: 163.2 kB / 0.7691 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/1.017, allocations: 208 kB / 0.7693 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008117/1.025, allocations: 3.16 MB / 0.7724 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/1.025, allocations: 0.9062 kB / 0.7724 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/1.026, allocations: 88.25 kB / 0.7725 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/1.026, allocations: 52.91 kB / 0.7725 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/1.038, allocations: 4.101 MB / 0.7765 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/1.052, allocations: 7.008 MB / 0.7834 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008269/1.061, allocations: 2.683 MB / 0.786 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/1.065, allocations: 1.431 MB / 0.7874 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/1.066, allocations: 0.5107 MB / 0.7879 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004714/1.07, allocations: 1.691 MB / 0.7895 GB, free: 14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.256e-06/1.07, allocations: 0 / 0.7895 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.0142/1.085, allocations: 4.191 MB / 0.7936 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.085, allocations: 205.2 kB / 0.7938 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.086, allocations: 0.8617 MB / 0.7947 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.086, allocations: 59.61 kB / 0.7947 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/1.087, allocations: 0.7024 MB / 0.7954 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006694/1.088, allocations: 0.6417 MB / 0.796 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/1.088, allocations: 359.2 kB / 0.7964 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.089, allocations: 303.7 kB / 0.7967 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/1.093, allocations: 1.191 MB / 0.7978 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004441/1.097, allocations: 1.36 MB / 0.7992 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008564/1.106, allocations: 2.498 MB / 0.8016 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.106, allocations: 0 / 0.8016 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01055/1.116, allocations: 2.954 MB / 0.8045 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.116, allocations: 5.562 kB / 0.8045 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.116, allocations: 2.562 kB / 0.8045 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.117, allocations: 87.48 kB / 0.8046 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/1.121, allocations: 0.5696 MB / 0.8051 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.123, allocations: 1.637 MB / 0.8067 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.126, allocations: 339.5 kB / 0.8071 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/1.126, allocations: 98.77 kB / 0.8072 GB, free: 7.223 MB / 0.5919 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.0009964/1.127, allocations: 400.2 kB / 0.8075 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/1.128, allocations: 144.9 kB / 0.8077 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.14, allocations: 3.488 MB / 0.8111 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.14, allocations: 27.45 kB / 0.8111 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.14, allocations: 0 / 0.8111 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.14, allocations: 11.95 kB / 0.8111 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.155, allocations: 5.75 MB / 0.8167 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.155, allocations: 0 / 0.8167 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.158, allocations: 0.549 MB / 0.8173 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/1.159, allocations: 76.8 kB / 0.8173 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.159, allocations: 63.92 kB / 0.8174 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/1.161, allocations: 1.661 MB / 0.819 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.161, allocations: 0 / 0.819 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/1.172, allocations: 3.05 MB / 0.822 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009479/1.173, allocations: 0.5063 MB / 0.8225 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/1.173, allocations: 47.78 kB / 0.8226 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.176, allocations: 251.7 kB / 0.8228 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.176, allocations: 129.8 kB / 0.8229 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.177, allocations: 75.92 kB / 0.823 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009886/1.178, allocations: 0.6427 MB / 0.8236 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/1.178, allocations: 0 / 0.8236 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001765/1.179, allocations: 0.5956 MB / 0.8242 GB, free: 6.805 MB / 0.6075 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.002131/1.181, allocations: 0.6432 MB / 0.8248 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.195, allocations: 3.444 MB / 0.8282 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.195, allocations: 8.25 kB / 0.8282 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.2, allocations: 1.662 MB / 0.8298 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.202, allocations: 373.1 kB / 0.8302 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.213, allocations: 4.019 MB / 0.8341 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.214, allocations: 1.365 MB / 0.8354 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.216, allocations: 267.2 kB / 0.8357 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of SimCode: time 1.262e-06/1.216, allocations: 0 / 0.8357 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.07876/1.295, allocations: 38.87 MB / 0.8736 GB, free: 4.488 MB / 0.6544 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