Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008502/0.0008502, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.34 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 0.9842/0.9842, allocations: 143.2 MB / 435.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 11.98 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 83.4 MB / 0.5985 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005618/0.1742, allocations: 4.468 MB / 0.6029 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5544/0.7286, allocations: 146.9 MB / 0.7463 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7298, allocations: 17.69 kB / 0.7463 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.7304, allocations: 152.9 kB / 0.7465 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.7322, allocations: 486.9 kB / 0.7469 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.7346, allocations: 0.8087 MB / 0.7477 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001724/0.7363, allocations: 1.441 MB / 0.7491 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.7378, allocations: 1.084 MB / 0.7502 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.7386, allocations: 441.1 kB / 0.7506 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.7392, allocations: 489.2 kB / 0.7511 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.7393, allocations: 28 kB / 0.7511 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009996/0.7403, allocations: 371.7 kB / 0.7514 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.7406, allocations: 233 kB / 0.7517 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005611/0.7411, allocations: 0.6025 MB / 0.7523 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.7428, allocations: 1.826 MB / 0.754 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7429, allocations: 0 / 0.754 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7429, allocations: 0 / 0.754 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.7429, allocations: 0 / 0.754 GB, free: 12.54 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002514/0.7454, allocations: 1.494 MB / 0.7555 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7455, allocations: 12.03 kB / 0.7555 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.7465, allocations: 246.8 kB / 0.7557 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7478, allocations: 0.903 MB / 0.7566 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.7479, allocations: 137.7 kB / 0.7568 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.7481, allocations: 144 kB / 0.7569 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.7506, allocations: 1.473 MB / 0.7583 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.7506, allocations: 0 / 0.7583 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.7508, allocations: 67.98 kB / 0.7584 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.7508, allocations: 36 kB / 0.7584 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.7532, allocations: 1.498 MB / 0.7599 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/0.7594, allocations: 3.973 MB / 0.7638 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.761, allocations: 0.9181 MB / 0.7647 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.7616, allocations: 372.5 kB / 0.765 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7618, allocations: 40.92 kB / 0.7651 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.7628, allocations: 0.5515 MB / 0.7656 GB, free: 456 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.106e-06/0.7628, allocations: 4 kB / 0.7656 GB, free: 452 kB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003423/0.7662, allocations: 1.391 MB / 0.767 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7663, allocations: 194.2 kB / 0.7671 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.7673, allocations: 0.7667 MB / 0.7679 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.7674, allocations: 45.64 kB / 0.7679 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.7679, allocations: 0.5735 MB / 0.7685 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.7682, allocations: 311.5 kB / 0.7688 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.7683, allocations: 77.67 kB / 0.7689 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7684, allocations: 345.9 kB / 0.7692 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.769, allocations: 329.8 kB / 0.7695 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.7697, allocations: 439.9 kB / 0.7699 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.771, allocations: 0.7735 MB / 0.7707 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7711, allocations: 0 / 0.7707 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00217/0.7732, allocations: 1.028 MB / 0.7717 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7733, allocations: 8 kB / 0.7717 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7733, allocations: 0 / 0.7717 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.7739, allocations: 89.33 kB / 0.7718 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.7747, allocations: 203.7 kB / 0.772 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.7768, allocations: 1.534 MB / 0.7735 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/0.7776, allocations: 119.1 kB / 0.7736 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.7777, allocations: 40.7 kB / 0.7736 GB, free: 7.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.000648/0.7784, allocations: 328.4 kB / 0.7739 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7785, allocations: 94.81 kB / 0.774 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.7813, allocations: 1.3 MB / 0.7753 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7813, allocations: 8 kB / 0.7753 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7813, allocations: 4 kB / 0.7753 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.7814, allocations: 3.984 kB / 0.7753 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.7854, allocations: 2.503 MB / 0.7778 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7854, allocations: 8 kB / 0.7778 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.7861, allocations: 179.7 kB / 0.7779 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/0.7867, allocations: 92.7 kB / 0.778 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.7867, allocations: 23.98 kB / 0.7781 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.7885, allocations: 1.567 MB / 0.7796 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7886, allocations: 4.062 kB / 0.7796 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.7907, allocations: 1.125 MB / 0.7807 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.7912, allocations: 343.3 kB / 0.781 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.7913, allocations: 23.94 kB / 0.781 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.792, allocations: 77.47 kB / 0.7811 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.7922, allocations: 76.83 kB / 0.7812 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.7923, allocations: 39.97 kB / 0.7812 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000731/0.793, allocations: 0.5576 MB / 0.7818 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7931, allocations: 0 / 0.7818 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001084/0.7941, allocations: 402.5 kB / 0.7822 GB, free: 14.97 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 (107): * Single equations (assignments): 104 * 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.001459/0.7956, allocations: 0.6047 MB / 0.7827 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.7975, allocations: 0.9741 MB / 0.7837 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7975, allocations: 0 / 0.7837 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.7985, allocations: 0.5862 MB / 0.7843 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.7999, allocations: 289.9 kB / 0.7845 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.8051, allocations: 3.094 MB / 0.7876 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.8059, allocations: 1.165 MB / 0.7887 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.8063, allocations: 143.3 kB / 0.7888 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.8063, allocations: 0 / 0.7888 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.03257/0.8388, allocations: 23.81 MB / 0.8121 GB, free: 500 kB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1