Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001622, allocations: 100.1 kB / 15.88 MB, free: 12 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.00226/0.00226, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.633 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 1.032/1.032, allocations: 143 MB / 433.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 0.5141 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1884, allocations: 82.04 MB / 0.5942 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006746/0.1952, allocations: 4.503 MB / 0.5986 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4664/0.6617, allocations: 148.3 MB / 0.7435 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.6624, allocations: 20.75 kB / 0.7435 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.663, allocations: 145.9 kB / 0.7436 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.6646, allocations: 426.3 kB / 0.744 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.6665, allocations: 0.7133 MB / 0.7447 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.668, allocations: 1.231 MB / 0.7459 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6691, allocations: 0.8966 MB / 0.7468 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.6697, allocations: 469.1 kB / 0.7472 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.6703, allocations: 0.5466 MB / 0.7478 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.6705, allocations: 84.03 kB / 0.7479 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.6714, allocations: 425.5 kB / 0.7483 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.6717, allocations: 286.2 kB / 0.7485 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.6723, allocations: 0.5871 MB / 0.7491 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.6737, allocations: 1.46 MB / 0.7505 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6737, allocations: 0 / 0.7505 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6737, allocations: 0 / 0.7505 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.6738, allocations: 0 / 0.7505 GB, free: 13.59 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002674/0.6764, allocations: 1.592 MB / 0.7521 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6765, allocations: 8.031 kB / 0.7521 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009638/0.6775, allocations: 207.8 kB / 0.7523 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.6786, allocations: 0.8096 MB / 0.7531 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.6786, allocations: 82.3 kB / 0.7532 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.6788, allocations: 112 kB / 0.7533 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.6807, allocations: 1.138 MB / 0.7544 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6808, allocations: 0 / 0.7544 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.6809, allocations: 49.12 kB / 0.7544 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.6809, allocations: 32 kB / 0.7545 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6829, allocations: 1.238 MB / 0.7557 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.6876, allocations: 3.01 MB / 0.7586 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.689, allocations: 0.7785 MB / 0.7594 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.6896, allocations: 295.6 kB / 0.7596 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.659e-05/0.6897, allocations: 32.8 kB / 0.7597 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008959/0.6906, allocations: 460.3 kB / 0.7601 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.176e-06/0.6906, allocations: 0 / 0.7601 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003078/0.6937, allocations: 1.135 MB / 0.7612 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6938, allocations: 196.6 kB / 0.7614 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.6947, allocations: 0.6881 MB / 0.7621 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.6948, allocations: 41.7 kB / 0.7621 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.6952, allocations: 0.4996 MB / 0.7626 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.6955, allocations: 256.2 kB / 0.7629 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.6957, allocations: 166.5 kB / 0.763 GB, free: 448 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.696, allocations: 390.7 kB / 0.7634 GB, free: 48 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.6965, allocations: 253.9 kB / 0.7636 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.6971, allocations: 351.1 kB / 0.764 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6982, allocations: 0.6011 MB / 0.7646 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6982, allocations: 0 / 0.7646 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001957/0.7001, allocations: 0.8494 MB / 0.7654 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7002, allocations: 4 kB / 0.7654 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7002, allocations: 96 / 0.7654 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.7008, allocations: 80.78 kB / 0.7655 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.7015, allocations: 163.8 kB / 0.7656 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.7037, allocations: 1.516 MB / 0.7671 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.7044, allocations: 95.27 kB / 0.7672 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.7045, allocations: 39.97 kB / 0.7672 GB, free: 11.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0005018/0.705, allocations: 273.6 kB / 0.7675 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.7052, allocations: 90.88 kB / 0.7676 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.7075, allocations: 1.028 MB / 0.7686 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7075, allocations: 8 kB / 0.7686 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7075, allocations: 0 / 0.7686 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7075, allocations: 7.984 kB / 0.7686 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7087, allocations: 0.9858 MB / 0.7696 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7087, allocations: 3.75 kB / 0.7696 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.7094, allocations: 151.8 kB / 0.7697 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.7099, allocations: 85.47 kB / 0.7698 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.7099, allocations: 23.98 kB / 0.7698 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.7118, allocations: 1.54 MB / 0.7713 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7118, allocations: 4.031 kB / 0.7713 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.7137, allocations: 0.8848 MB / 0.7722 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.7141, allocations: 271.7 kB / 0.7724 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.7142, allocations: 16 kB / 0.7725 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.7147, allocations: 56.66 kB / 0.7725 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.7149, allocations: 68.66 kB / 0.7726 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.715, allocations: 31.98 kB / 0.7726 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006198/0.7156, allocations: 499 kB / 0.7731 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7156, allocations: 4 kB / 0.7731 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008943/0.7165, allocations: 334.9 kB / 0.7734 GB, free: 5.387 MB / 0.5919 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001468/0.718, allocations: 0.5996 MB / 0.774 GB, free: 5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.7196, allocations: 0.7966 MB / 0.7748 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7196, allocations: 0 / 0.7748 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.7205, allocations: 0.5079 MB / 0.7753 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7216, allocations: 283.2 kB / 0.7755 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.7261, allocations: 2.535 MB / 0.778 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.7268, allocations: 1.078 MB / 0.7791 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.7271, allocations: 123.3 kB / 0.7792 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of SimCode: time 9.11e-07/0.7272, allocations: 0 / 0.7792 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.02758/0.7547, allocations: 20.12 MB / 0.7988 GB, free: 11.54 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropicCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1