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.001482/0.001482, allocations: 105.6 kB / 16.4 MB, free: 6.473 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.001383/0.001383, allocations: 183 kB / 17.34 MB, free: 5.715 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.07 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.8719/0.8719, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 68.64 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008466/0.1742, allocations: 6.062 MB / 0.6822 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.495/0.6692, allocations: 151.9 MB / 0.8305 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.6703, allocations: 23.47 kB / 0.8306 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.671, allocations: 249.7 kB / 0.8308 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.6728, allocations: 0.6228 MB / 0.8314 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.6755, allocations: 1.292 MB / 0.8327 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.6785, allocations: 2.421 MB / 0.835 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.6801, allocations: 1.139 MB / 0.8361 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.6815, allocations: 1.061 MB / 0.8372 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.6828, allocations: 1.194 MB / 0.8383 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.6831, allocations: 297.1 kB / 0.8386 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6841, allocations: 0.6766 MB / 0.8393 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.6847, allocations: 0.6376 MB / 0.8399 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6857, allocations: 1.179 MB / 0.8411 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.6895, allocations: 3.509 MB / 0.8445 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6895, allocations: 0 / 0.8445 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6895, allocations: 4.188 kB / 0.8445 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.861e-05/0.6896, allocations: 0 / 0.8445 GB, free: 15.93 MB / 0.6231 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.005332/0.6949, allocations: 2.648 MB / 0.8471 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6949, allocations: 10.09 kB / 0.8471 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.7092, allocations: 2.103 MB / 0.8491 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.7121, allocations: 1.225 MB / 0.8503 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.7122, allocations: 164.4 kB / 0.8505 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/0.7126, allocations: 208 kB / 0.8507 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008735/0.7214, allocations: 3.158 MB / 0.8538 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.7214, allocations: 0 / 0.8538 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.7217, allocations: 92 kB / 0.8539 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.7217, allocations: 52 kB / 0.8539 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.7345, allocations: 4.109 MB / 0.8579 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.7504, allocations: 6.946 MB / 0.8647 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/0.7591, allocations: 2.52 MB / 0.8672 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/0.7634, allocations: 1.305 MB / 0.8684 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/0.7643, allocations: 0.5035 MB / 0.8689 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005553/0.7698, allocations: 1.692 MB / 0.8706 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=195): time 4.128e-06/0.7698, allocations: 7.938 kB / 0.8706 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195): time 0.01503/0.7848, allocations: 4.201 MB / 0.8747 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.785, allocations: 205.9 kB / 0.8749 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.7863, allocations: 0.8657 MB / 0.8757 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.7865, allocations: 57.7 kB / 0.8758 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/0.7871, allocations: 0.713 MB / 0.8765 GB, free: 128 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.7878, allocations: 0.6662 MB / 0.8771 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/0.7886, allocations: 371.3 kB / 0.8775 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7887, allocations: 301.1 kB / 0.8778 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/0.793, allocations: 1.187 MB / 0.8789 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004511/0.7975, allocations: 1.363 MB / 0.8803 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/0.806, allocations: 2.489 MB / 0.8827 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.806, allocations: 3.625 kB / 0.8827 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01019/0.8162, allocations: 2.961 MB / 0.8856 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.8162, allocations: 8 kB / 0.8856 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8163, allocations: 0 / 0.8856 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.8168, allocations: 92.58 kB / 0.8857 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.8203, allocations: 0.5695 MB / 0.8862 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.8227, allocations: 1.64 MB / 0.8878 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.8258, allocations: 338.7 kB / 0.8882 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.826, allocations: 95.89 kB / 0.8883 GB, free: 3.855 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.001045/0.8271, allocations: 406.4 kB / 0.8887 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.8275, allocations: 151 kB / 0.8888 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.8388, allocations: 3.476 MB / 0.8922 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.8388, allocations: 20 kB / 0.8922 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8388, allocations: 0 / 0.8922 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/0.8389, allocations: 11.97 kB / 0.8922 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.8529, allocations: 5.759 MB / 0.8978 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8529, allocations: 0 / 0.8978 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/0.8563, allocations: 0.5461 MB / 0.8984 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.8567, allocations: 80.7 kB / 0.8985 GB, free: 9.328 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.8569, allocations: 67.92 kB / 0.8985 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.8591, allocations: 1.662 MB / 0.9001 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8591, allocations: 6.203 kB / 0.9001 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.8692, allocations: 3.058 MB / 0.9031 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.8703, allocations: 0.5071 MB / 0.9036 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.8707, allocations: 51.89 kB / 0.9037 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/0.8732, allocations: 247.7 kB / 0.9039 GB, free: 3.551 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.8735, allocations: 129.8 kB / 0.904 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.8737, allocations: 79.92 kB / 0.9041 GB, free: 3.344 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009328/0.8746, allocations: 0.6388 MB / 0.9047 GB, free: 2.695 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.8746, allocations: 0 / 0.9047 GB, free: 2.695 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001657/0.8763, allocations: 0.6038 MB / 0.9053 GB, free: 2.09 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.002056/0.8783, allocations: 0.656 MB / 0.906 GB, free: 1.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009736/0.8881, allocations: 2.854 MB / 0.9088 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.8881, allocations: 4.062 kB / 0.9088 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004994/0.8931, allocations: 1.536 MB / 0.9103 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.8948, allocations: 379 kB / 0.9106 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009672/0.9045, allocations: 4.033 MB / 0.9146 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.9055, allocations: 1.365 MB / 0.9159 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.9071, allocations: 267.2 kB / 0.9161 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/0.9071, allocations: 0 / 0.9161 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of Templates: time 0.05561/0.9627, allocations: 39.15 MB / 0.9544 GB, free: 15.95 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