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.001582/0.001582, allocations: 103.7 kB / 15.98 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.001574/0.001575, allocations: 196.6 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.496/1.496, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.9077/0.9077, allocations: 143.3 MB / 434 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 71.88 kB / 0.5146 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3715, allocations: 82.03 MB / 0.5947 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006686/0.3783, allocations: 6.012 MB / 0.6006 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.5685, allocations: 149.2 MB / 0.7463 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.5695, allocations: 23.88 kB / 0.7463 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.5703, allocations: 186.4 kB / 0.7465 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.5723, allocations: 0.5406 MB / 0.747 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.5752, allocations: 1.165 MB / 0.7481 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.5779, allocations: 2.407 MB / 0.7505 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.346/0.9239, allocations: 1.576 MB / 0.752 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.9256, allocations: 1.054 MB / 0.753 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.9271, allocations: 1.183 MB / 0.7542 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.9275, allocations: 300.3 kB / 0.7545 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.9286, allocations: 0.6438 MB / 0.7551 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.9291, allocations: 0.644 MB / 0.7557 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000896/0.93, allocations: 1.166 MB / 0.7569 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.9328, allocations: 2.705 MB / 0.7595 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9328, allocations: 3.688 kB / 0.7595 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9329, allocations: 0.6875 kB / 0.7595 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.839e-05/0.9329, allocations: 0.8438 kB / 0.7595 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.006025/0.9389, allocations: 2.588 MB / 0.7621 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.939, allocations: 9.625 kB / 0.7621 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.955, allocations: 2.093 MB / 0.7641 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.9576, allocations: 1.19 MB / 0.7653 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/0.9577, allocations: 164 kB / 0.7654 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004002/0.9582, allocations: 210.2 kB / 0.7656 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008245/0.9664, allocations: 3.157 MB / 0.7687 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.9665, allocations: 7.312 kB / 0.7687 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.9667, allocations: 88.22 kB / 0.7688 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.9668, allocations: 53.03 kB / 0.7689 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.9782, allocations: 4.099 MB / 0.7729 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.9934, allocations: 7.011 MB / 0.7797 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/1.001, allocations: 2.687 MB / 0.7823 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/1.006, allocations: 1.427 MB / 0.7837 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/1.006, allocations: 0.5025 MB / 0.7842 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004724/1.011, allocations: 1.69 MB / 0.7859 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.248e-06/1.011, allocations: 2.094 kB / 0.7859 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01352/1.025, allocations: 4.194 MB / 0.79 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.025, allocations: 209.5 kB / 0.7902 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.026, allocations: 0.8609 MB / 0.791 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.027, allocations: 58.27 kB / 0.7911 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/1.027, allocations: 0.7046 MB / 0.7917 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/1.028, allocations: 0.6348 MB / 0.7924 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007143/1.029, allocations: 367.8 kB / 0.7927 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.029, allocations: 301.1 kB / 0.793 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/1.033, allocations: 1.189 MB / 0.7942 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/1.037, allocations: 1.352 MB / 0.7955 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007794/1.045, allocations: 2.493 MB / 0.7979 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.045, allocations: 4.109 kB / 0.7979 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009769/1.054, allocations: 2.956 MB / 0.8008 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.054, allocations: 11.28 kB / 0.8008 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.054, allocations: 0 / 0.8008 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/1.055, allocations: 87.17 kB / 0.8009 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/1.059, allocations: 0.5741 MB / 0.8015 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.061, allocations: 1.632 MB / 0.8031 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.065, allocations: 336.9 kB / 0.8034 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/1.065, allocations: 93.52 kB / 0.8035 GB, free: 9.82 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.001352/1.066, allocations: 414 kB / 0.8039 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/1.067, allocations: 138 kB / 0.804 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.078, allocations: 3.488 MB / 0.8074 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.078, allocations: 20.41 kB / 0.8074 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.078, allocations: 0 / 0.8074 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/1.078, allocations: 7.969 kB / 0.8074 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.092, allocations: 5.758 MB / 0.813 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.092, allocations: 0 / 0.813 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/1.096, allocations: 0.554 MB / 0.8136 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/1.096, allocations: 83.36 kB / 0.8137 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.097, allocations: 67.92 kB / 0.8137 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/1.099, allocations: 1.656 MB / 0.8154 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.099, allocations: 0 / 0.8154 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009877/1.109, allocations: 3.057 MB / 0.8183 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.11, allocations: 0.4985 MB / 0.8188 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.111, allocations: 51.78 kB / 0.8189 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.113, allocations: 251.7 kB / 0.8191 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.114, allocations: 121.8 kB / 0.8192 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.114, allocations: 83.92 kB / 0.8193 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001058/1.115, allocations: 0.6427 MB / 0.8199 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.115, allocations: 0 / 0.8199 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001968/1.117, allocations: 0.5958 MB / 0.8205 GB, free: 11.35 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.002251/1.119, allocations: 0.6483 MB / 0.8212 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.133, allocations: 3.445 MB / 0.8245 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.133, allocations: 0 / 0.8245 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005065/1.138, allocations: 1.663 MB / 0.8261 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/1.14, allocations: 368.8 kB / 0.8265 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.15, allocations: 4.937 MB / 0.8313 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.152, allocations: 1.369 MB / 0.8327 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/1.153, allocations: 266.1 kB / 0.8329 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/1.153, allocations: 0 / 0.8329 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.06132/1.215, allocations: 38.88 MB / 0.8709 GB, free: 8.156 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