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.001318/0.001318, allocations: 112.9 kB / 15.99 MB, free: 6.348 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.001627/0.001627, allocations: 194.4 kB / 16.91 MB, free: 6.188 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.36 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.8762/0.8762, allocations: 143.1 MB / 433.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4339, allocations: 82.02 MB / 0.5944 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009628/0.4436, allocations: 6.016 MB / 0.6003 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1999/0.6435, allocations: 149.2 MB / 0.746 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.645, allocations: 23.88 kB / 0.746 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.6458, allocations: 178.5 kB / 0.7462 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.6482, allocations: 0.5315 MB / 0.7467 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.6512, allocations: 1.171 MB / 0.7479 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.6544, allocations: 2.4 MB / 0.7502 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4188/1.073, allocations: 1.59 MB / 0.7518 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/1.075, allocations: 1.05 MB / 0.7528 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/1.077, allocations: 1.185 MB / 0.7539 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/1.077, allocations: 297.8 kB / 0.7542 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.078, allocations: 0.6479 MB / 0.7549 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/1.079, allocations: 0.6439 MB / 0.7555 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/1.08, allocations: 1.165 MB / 0.7566 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/1.084, allocations: 2.709 MB / 0.7593 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.084, allocations: 0 / 0.7593 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/1.084, allocations: 0 / 0.7593 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.454e-05/1.084, allocations: 1.125 kB / 0.7593 GB, free: 2.344 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.006833/1.091, allocations: 2.586 MB / 0.7618 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.091, allocations: 10.53 kB / 0.7618 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.107, allocations: 2.094 MB / 0.7639 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/1.11, allocations: 1.189 MB / 0.765 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/1.11, allocations: 165.7 kB / 0.7652 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/1.111, allocations: 211.2 kB / 0.7654 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009117/1.12, allocations: 3.157 MB / 0.7685 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/1.12, allocations: 0 / 0.7685 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/1.12, allocations: 96.94 kB / 0.7685 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/1.12, allocations: 52.34 kB / 0.7686 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/1.132, allocations: 4.101 MB / 0.7726 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/1.149, allocations: 7.005 MB / 0.7794 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/1.158, allocations: 2.69 MB / 0.7821 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/1.162, allocations: 1.428 MB / 0.7835 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/1.163, allocations: 0.5061 MB / 0.784 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005513/1.169, allocations: 1.691 MB / 0.7856 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 9.738e-06/1.169, allocations: 0 / 0.7856 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01532/1.184, allocations: 4.194 MB / 0.7897 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.184, allocations: 204.7 kB / 0.7899 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.186, allocations: 0.868 MB / 0.7908 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003421/1.186, allocations: 55.33 kB / 0.7908 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/1.187, allocations: 0.7019 MB / 0.7915 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/1.188, allocations: 0.6335 MB / 0.7921 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.189, allocations: 366.8 kB / 0.7925 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.189, allocations: 303.1 kB / 0.7927 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/1.193, allocations: 1.189 MB / 0.7939 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/1.197, allocations: 1.36 MB / 0.7952 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/1.205, allocations: 2.49 MB / 0.7977 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.205, allocations: 3.375 kB / 0.7977 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009899/1.215, allocations: 2.956 MB / 0.8006 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.215, allocations: 8.25 kB / 0.8006 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.215, allocations: 3.375 kB / 0.8006 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/1.216, allocations: 86.86 kB / 0.8007 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/1.219, allocations: 0.5714 MB / 0.8012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.222, allocations: 1.635 MB / 0.8028 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.225, allocations: 339.7 kB / 0.8031 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000438/1.225, allocations: 97.17 kB / 0.8032 GB, free: 9.855 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.001507/1.227, allocations: 398.3 kB / 0.8036 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007659/1.228, allocations: 142.4 kB / 0.8037 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.24, allocations: 3.486 MB / 0.8071 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.24, allocations: 20.66 kB / 0.8072 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.24, allocations: 0 / 0.8072 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-05/1.24, allocations: 11.95 kB / 0.8072 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.255, allocations: 5.767 MB / 0.8128 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.255, allocations: 0 / 0.8128 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.258, allocations: 0.5499 MB / 0.8133 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/1.259, allocations: 76.78 kB / 0.8134 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/1.259, allocations: 63.92 kB / 0.8135 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.261, allocations: 1.662 MB / 0.8151 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.261, allocations: 0 / 0.8151 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009946/1.271, allocations: 3.046 MB / 0.8181 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.272, allocations: 0.5063 MB / 0.8186 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/1.273, allocations: 55.84 kB / 0.8186 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.276, allocations: 248.9 kB / 0.8189 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/1.276, allocations: 129.8 kB / 0.819 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.277, allocations: 83.92 kB / 0.8191 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001208/1.278, allocations: 0.6349 MB / 0.8197 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.278, allocations: 0 / 0.8197 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002275/1.28, allocations: 0.5919 MB / 0.8203 GB, free: 11.58 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.001929/1.282, allocations: 0.6523 MB / 0.8209 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.295, allocations: 3.442 MB / 0.8243 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.295, allocations: 6.891 kB / 0.8243 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/1.3, allocations: 1.667 MB / 0.8259 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.303, allocations: 351.5 kB / 0.8262 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.314, allocations: 4.946 MB / 0.8311 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.315, allocations: 1.368 MB / 0.8324 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/1.317, allocations: 267.2 kB / 0.8326 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of SimCode: time 1.352e-06/1.317, allocations: 0 / 0.8326 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.06042/1.378, allocations: 38.87 MB / 0.8706 GB, free: 8.418 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++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