Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.92 kB / 16.02 MB, free: 80 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.001458/0.001458, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.52/1.52, allocations: 223.3 MB / 241 MB, free: 5.293 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.142/1.142, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.000336, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 83.41 MB / 0.5985 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01509/0.2398, allocations: 6.507 MB / 0.6049 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.547/0.7868, allocations: 148 MB / 0.7493 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.7889, allocations: 27.59 kB / 0.7494 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.7898, allocations: 205 kB / 0.7496 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.7931, allocations: 0.6183 MB / 0.7502 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.7971, allocations: 1.355 MB / 0.7515 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003692/0.8008, allocations: 2.824 MB / 0.7542 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.8039, allocations: 2.336 MB / 0.7565 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.8056, allocations: 0.8623 MB / 0.7574 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.807, allocations: 1.04 MB / 0.7584 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.8072, allocations: 71.98 kB / 0.7585 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.8082, allocations: 427.6 kB / 0.7589 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.8087, allocations: 457.4 kB / 0.7593 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.8098, allocations: 1.212 MB / 0.7605 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.8137, allocations: 4.286 MB / 0.7647 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8137, allocations: 4 kB / 0.7647 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8137, allocations: 0.75 kB / 0.7647 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.852e-05/0.8138, allocations: 0 / 0.7647 GB, free: 1.137 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.005731/0.8195, allocations: 2.688 MB / 0.7673 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.8196, allocations: 12.03 kB / 0.7673 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.836, allocations: 2.373 MB / 0.7696 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.8399, allocations: 1.623 MB / 0.7712 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.8402, allocations: 250.6 kB / 0.7715 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009321/0.8411, allocations: 316 kB / 0.7718 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.8536, allocations: 4.34 MB / 0.776 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.8537, allocations: 0 / 0.776 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.8541, allocations: 136 kB / 0.7761 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.8541, allocations: 80 kB / 0.7762 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/0.8698, allocations: 5.127 MB / 0.7812 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.8915, allocations: 10.38 MB / 0.7913 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009611/0.9011, allocations: 3.084 MB / 0.7944 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/0.906, allocations: 1.64 MB / 0.796 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.9068, allocations: 0.523 MB / 0.7965 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005358/0.9122, allocations: 1.916 MB / 0.7983 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=222): time 3.697e-06/0.9122, allocations: 0 / 0.7983 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=222): time 0.0154/0.9276, allocations: 4.794 MB / 0.803 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.9278, allocations: 215.1 kB / 0.8032 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.9295, allocations: 1.164 MB / 0.8044 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.9298, allocations: 61.7 kB / 0.8044 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009272/0.9307, allocations: 1.062 MB / 0.8055 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007406/0.9314, allocations: 0.7276 MB / 0.8062 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.9318, allocations: 153.6 kB / 0.8063 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9319, allocations: 301.1 kB / 0.8066 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00464/0.9365, allocations: 1.378 MB / 0.808 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004728/0.9413, allocations: 1.551 MB / 0.8095 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009193/0.9505, allocations: 2.891 MB / 0.8123 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9505, allocations: 4 kB / 0.8123 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01109/0.9616, allocations: 3.405 MB / 0.8156 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.9617, allocations: 8 kB / 0.8156 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.9617, allocations: 0 / 0.8156 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.9623, allocations: 88.78 kB / 0.8157 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/0.9665, allocations: 0.6397 MB / 0.8163 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.9689, allocations: 1.517 MB / 0.8178 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.9725, allocations: 392.5 kB / 0.8182 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.9728, allocations: 107.9 kB / 0.8183 GB, free: 9.543 MB / 0.6387 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 (248): * Single equations (assignments): 247 * 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.001824/0.9746, allocations: 0.5482 MB / 0.8188 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.9751, allocations: 181.8 kB / 0.819 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.9877, allocations: 3.996 MB / 0.8229 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.9878, allocations: 20 kB / 0.8229 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9878, allocations: 7.938 kB / 0.8229 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.9878, allocations: 11.95 kB / 0.8229 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.004, allocations: 7.185 MB / 0.83 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.004, allocations: 0 / 0.83 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003902/1.008, allocations: 0.6007 MB / 0.8305 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/1.009, allocations: 84.77 kB / 0.8306 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/1.009, allocations: 79.92 kB / 0.8307 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.011, allocations: 1.556 MB / 0.8322 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.011, allocations: 0 / 0.8322 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.022, allocations: 3.459 MB / 0.8356 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.024, allocations: 0.6735 MB / 0.8363 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/1.024, allocations: 43.98 kB / 0.8363 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.027, allocations: 265.3 kB / 0.8366 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/1.027, allocations: 149.8 kB / 0.8367 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.028, allocations: 91.86 kB / 0.8368 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001339/1.029, allocations: 0.8744 MB / 0.8376 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 4 kB / 0.8376 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0021/1.031, allocations: 0.7664 MB / 0.8384 GB, free: 4.66 MB / 0.6544 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 (240): * Single equations (assignments): 237 * 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.001637/1.033, allocations: 0.6516 MB / 0.839 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.043, allocations: 3.389 MB / 0.8423 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.043, allocations: 0 / 0.8423 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005497/1.049, allocations: 1.861 MB / 0.8442 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.051, allocations: 372.5 kB / 0.8445 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.064, allocations: 6.663 MB / 0.851 GB, free: 7.879 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.065, allocations: 1.645 MB / 0.8526 GB, free: 6.203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.067, allocations: 307.1 kB / 0.8529 GB, free: 5.902 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/1.067, allocations: 0 / 0.8529 GB, free: 5.902 MB / 0.67 GB Notification: Performance of Templates: time 0.3275/1.394, allocations: 51.49 MB / 0.9032 GB, free: 188.1 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o] Error 1