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.001611/0.001611, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.00173/0.00173, allocations: 189.7 kB / 17.34 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 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.9096/0.9096, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.5 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1883, 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.009105/0.1974, allocations: 6.046 MB / 0.6822 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6225/0.8199, allocations: 151.5 MB / 0.8301 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.8212, allocations: 23.5 kB / 0.8301 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.8219, allocations: 247.4 kB / 0.8303 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.8241, allocations: 0.6215 MB / 0.831 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.8269, allocations: 1.286 MB / 0.8322 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.8297, allocations: 2.421 MB / 0.8346 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.8317, allocations: 1.593 MB / 0.8361 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.8332, allocations: 1.04 MB / 0.8371 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.8346, allocations: 1.194 MB / 0.8383 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.8349, allocations: 297.8 kB / 0.8386 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.8362, allocations: 0.672 MB / 0.8393 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.8369, allocations: 0.645 MB / 0.8399 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.8379, allocations: 1.164 MB / 0.841 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003785/0.8417, allocations: 3.496 MB / 0.8444 GB, free: 144 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8417, allocations: 2.688 kB / 0.8444 GB, free: 144 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8417, allocations: 0 / 0.8444 GB, free: 144 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.101e-05/0.8418, allocations: 0 / 0.8444 GB, free: 144 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.005204/0.847, allocations: 2.582 MB / 0.847 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.847, allocations: 18.17 kB / 0.847 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.8618, allocations: 2.098 MB / 0.849 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.8642, allocations: 1.217 MB / 0.8502 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.8643, allocations: 160.4 kB / 0.8504 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.8646, allocations: 208 kB / 0.8506 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/0.873, allocations: 3.166 MB / 0.8537 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.873, allocations: 0 / 0.8537 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.8733, allocations: 88 kB / 0.8537 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.8734, allocations: 52 kB / 0.8538 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.8856, allocations: 4.099 MB / 0.8578 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.9008, allocations: 6.933 MB / 0.8646 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008342/0.9092, allocations: 2.7 MB / 0.8672 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004304/0.9135, allocations: 1.435 MB / 0.8686 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/0.9143, allocations: 0.4996 MB / 0.8691 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004982/0.9193, allocations: 1.696 MB / 0.8707 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=195): time 5.05e-06/0.9194, allocations: 0 / 0.8707 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195): time 0.01416/0.9335, allocations: 4.197 MB / 0.8748 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.9337, allocations: 205.9 kB / 0.875 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.9349, allocations: 0.8619 MB / 0.8759 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.9352, allocations: 57.7 kB / 0.8759 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006061/0.9358, allocations: 0.6957 MB / 0.8766 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/0.9364, allocations: 0.6313 MB / 0.8772 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007084/0.9371, allocations: 371.1 kB / 0.8776 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9372, allocations: 301.1 kB / 0.8779 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.9412, allocations: 1.187 MB / 0.879 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/0.9454, allocations: 1.368 MB / 0.8804 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008153/0.9536, allocations: 2.485 MB / 0.8828 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9536, allocations: 4 kB / 0.8828 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009909/0.9636, allocations: 2.956 MB / 0.8857 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.9636, allocations: 5.875 kB / 0.8857 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.9637, allocations: 4 kB / 0.8857 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.9643, allocations: 88.83 kB / 0.8858 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/0.9678, allocations: 0.5664 MB / 0.8863 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.9701, allocations: 1.643 MB / 0.8879 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.9732, allocations: 334.3 kB / 0.8883 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.9735, allocations: 92 kB / 0.8883 GB, free: 3.703 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.001118/0.9746, allocations: 410.9 kB / 0.8887 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.975, allocations: 150.2 kB / 0.8889 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.9856, allocations: 3.475 MB / 0.8923 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.9857, allocations: 20 kB / 0.8923 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9857, allocations: 0 / 0.8923 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.9857, allocations: 11.95 kB / 0.8923 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.9991, allocations: 5.758 MB / 0.8979 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.9991, allocations: 6.062 kB / 0.8979 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.003, allocations: 0.5422 MB / 0.8985 GB, free: 9.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/1.003, allocations: 80.72 kB / 0.8985 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.003, allocations: 63.92 kB / 0.8986 GB, free: 9.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.005, allocations: 1.654 MB / 0.9002 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.005, allocations: 7.922 kB / 0.9002 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/1.015, allocations: 3.05 MB / 0.9032 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009176/1.016, allocations: 0.5024 MB / 0.9037 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/1.016, allocations: 51.83 kB / 0.9037 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.018, allocations: 245.3 kB / 0.904 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/1.019, allocations: 133.8 kB / 0.9041 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.019, allocations: 79.92 kB / 0.9042 GB, free: 3.207 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008878/1.02, allocations: 0.6388 MB / 0.9048 GB, free: 2.559 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.02, allocations: 0 / 0.9048 GB, free: 2.559 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001643/1.021, allocations: 0.5959 MB / 0.9054 GB, free: 1.961 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.00154/1.023, allocations: 0.6437 MB / 0.906 GB, free: 1.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009022/1.032, allocations: 2.983 MB / 0.9089 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.032, allocations: 4 kB / 0.9089 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004591/1.037, allocations: 1.658 MB / 0.9105 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.038, allocations: 367.1 kB / 0.9109 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/1.048, allocations: 3.986 MB / 0.9148 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/1.048, allocations: 1.369 MB / 0.9161 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.05, allocations: 263.2 kB / 0.9164 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/1.05, allocations: 0 / 0.9164 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of Templates: time 0.05127/1.101, allocations: 38.88 MB / 0.9543 GB, free: 15.92 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