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.005462/0.005462, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001208/0.001208, allocations: 192.2 kB / 16.79 MB, free: 5.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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.062/1.062, allocations: 143 MB / 433.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.169, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008034/0.1771, allocations: 6.009 MB / 0.6001 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4566/0.6338, allocations: 149.1 MB / 0.7457 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.6354, allocations: 25.25 kB / 0.7458 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.6365, allocations: 183.8 kB / 0.7459 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.6396, allocations: 0.5121 MB / 0.7464 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.644, allocations: 1.141 MB / 0.7476 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.6484, allocations: 2.228 MB / 0.7497 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/0.6517, allocations: 1.539 MB / 0.7512 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.654, allocations: 0.8995 MB / 0.7521 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.6562, allocations: 1.085 MB / 0.7532 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.6567, allocations: 148 kB / 0.7533 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.6581, allocations: 0.5036 MB / 0.7538 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/0.6586, allocations: 0.4942 MB / 0.7543 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.6601, allocations: 1.025 MB / 0.7553 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.6641, allocations: 2.668 MB / 0.7579 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6641, allocations: 0 / 0.7579 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6641, allocations: 1.5 kB / 0.7579 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.168e-05/0.6642, allocations: 4 kB / 0.7579 GB, free: 5.867 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.009154/0.6734, allocations: 2.592 MB / 0.7604 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.6735, allocations: 8.031 kB / 0.7604 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/0.6929, allocations: 2.093 MB / 0.7625 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.6955, allocations: 1.201 MB / 0.7637 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.6957, allocations: 160.4 kB / 0.7638 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.6962, allocations: 208 kB / 0.764 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009272/0.7055, allocations: 3.158 MB / 0.7671 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.7056, allocations: 3.938 kB / 0.7671 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004589/0.706, allocations: 91.98 kB / 0.7672 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.7061, allocations: 52 kB / 0.7672 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.7193, allocations: 4.099 MB / 0.7712 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/0.7376, allocations: 6.996 MB / 0.7781 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008721/0.7464, allocations: 2.697 MB / 0.7807 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.7507, allocations: 1.43 MB / 0.7821 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008123/0.7515, allocations: 0.5034 MB / 0.7826 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005116/0.7567, allocations: 1.697 MB / 0.7843 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 4.759e-06/0.7567, allocations: 0 / 0.7843 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01469/0.7714, allocations: 4.2 MB / 0.7884 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.7716, allocations: 207.4 kB / 0.7886 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.7729, allocations: 0.8581 MB / 0.7894 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.7732, allocations: 61.7 kB / 0.7894 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/0.7738, allocations: 0.6994 MB / 0.7901 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.7744, allocations: 0.6275 MB / 0.7907 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.7752, allocations: 367.2 kB / 0.7911 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.7753, allocations: 301.1 kB / 0.7914 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/0.7793, allocations: 1.194 MB / 0.7925 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004169/0.7835, allocations: 1.355 MB / 0.7939 GB, free: 484 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.7918, allocations: 2.489 MB / 0.7963 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.7919, allocations: 0.6875 kB / 0.7963 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01006/0.8019, allocations: 2.956 MB / 0.7992 GB, free: 11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.802, allocations: 8 kB / 0.7992 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.802, allocations: 4.062 kB / 0.7992 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.8026, allocations: 84.77 kB / 0.7993 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.8064, allocations: 0.5772 MB / 0.7998 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.8085, allocations: 1.525 MB / 0.8013 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.8117, allocations: 346.2 kB / 0.8017 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/0.8121, allocations: 87.89 kB / 0.8018 GB, free: 8.234 MB / 0.6231 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.001239/0.8134, allocations: 401.5 kB / 0.8021 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.8139, allocations: 138.3 kB / 0.8023 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.8254, allocations: 3.487 MB / 0.8057 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8255, allocations: 20 kB / 0.8057 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8255, allocations: 3.125 kB / 0.8057 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.8255, allocations: 11.95 kB / 0.8057 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.8395, allocations: 5.759 MB / 0.8113 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.8395, allocations: 0 / 0.8113 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/0.843, allocations: 0.5383 MB / 0.8119 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/0.8437, allocations: 92.77 kB / 0.8119 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/0.8441, allocations: 67.86 kB / 0.812 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.8461, allocations: 1.548 MB / 0.8135 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8461, allocations: 0 / 0.8135 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009933/0.8561, allocations: 3.055 MB / 0.8165 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8572, allocations: 0.4985 MB / 0.817 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/0.8576, allocations: 47.84 kB / 0.817 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/0.8604, allocations: 252.6 kB / 0.8173 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.8607, allocations: 121.8 kB / 0.8174 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/0.861, allocations: 94.23 kB / 0.8175 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001089/0.8621, allocations: 0.6349 MB / 0.8181 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8621, allocations: 4 kB / 0.8181 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001888/0.864, allocations: 0.5959 MB / 0.8187 GB, free: 6.617 MB / 0.6387 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.00171/0.8657, allocations: 0.6463 MB / 0.8193 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00918/0.8749, allocations: 2.979 MB / 0.8222 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8749, allocations: 0 / 0.8222 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004832/0.8798, allocations: 1.661 MB / 0.8239 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.8819, allocations: 344.9 kB / 0.8242 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.8925, allocations: 4.934 MB / 0.829 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.8937, allocations: 1.369 MB / 0.8303 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.8957, allocations: 263.2 kB / 0.8306 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/0.8957, allocations: 0 / 0.8306 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.3814/1.277, allocations: 38.85 MB / 0.8685 GB, free: 205.1 MB / 0.67 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