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.001481/0.001481, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001462/0.001462, allocations: 183 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 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.8833/0.8833, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.17 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1633, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.009387/0.1727, allocations: 7.086 MB / 0.6832 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4919/0.6646, allocations: 152.4 MB / 0.832 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.6659, allocations: 31.78 kB / 0.832 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.6667, allocations: 291.6 kB / 0.8323 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.6691, allocations: 0.7489 MB / 0.833 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.6725, allocations: 1.522 MB / 0.8345 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004169/0.6767, allocations: 3.103 MB / 0.8376 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.6792, allocations: 1.781 MB / 0.8393 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.6815, allocations: 1.533 MB / 0.8408 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.6839, allocations: 1.71 MB / 0.8425 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007184/0.6846, allocations: 0.497 MB / 0.8429 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.6862, allocations: 0.8886 MB / 0.8438 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008925/0.6871, allocations: 0.968 MB / 0.8448 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.689, allocations: 1.78 MB / 0.8465 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.6955, allocations: 5.596 MB / 0.852 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6955, allocations: 0 / 0.852 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6955, allocations: 4 kB / 0.852 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001452/0.6956, allocations: 0.75 kB / 0.852 GB, free: 9.777 MB / 0.6231 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.008407/0.7041, allocations: 3.497 MB / 0.8554 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.7041, allocations: 12.03 kB / 0.8554 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.7195, allocations: 2.215 MB / 0.8576 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.7235, allocations: 1.647 MB / 0.8592 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.7237, allocations: 242.6 kB / 0.8594 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/0.7243, allocations: 320 kB / 0.8597 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.7355, allocations: 4.271 MB / 0.8639 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.7356, allocations: 0 / 0.8639 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.7359, allocations: 132 kB / 0.864 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.736, allocations: 80 kB / 0.8641 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.7506, allocations: 4.982 MB / 0.8689 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/0.7713, allocations: 10.23 MB / 0.8789 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009666/0.781, allocations: 2.885 MB / 0.8817 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/0.7859, allocations: 1.494 MB / 0.8832 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/0.7867, allocations: 0.5113 MB / 0.8837 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005432/0.7922, allocations: 1.901 MB / 0.8856 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=222): time 3.506e-06/0.7922, allocations: 4 kB / 0.8856 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=222): time 0.01598/0.8082, allocations: 4.759 MB / 0.8902 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.8083, allocations: 205.9 kB / 0.8904 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.8102, allocations: 1.175 MB / 0.8916 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.8104, allocations: 61.7 kB / 0.8916 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.8116, allocations: 1.088 MB / 0.8927 GB, free: 15.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008387/0.8124, allocations: 0.759 MB / 0.8934 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000884/0.8133, allocations: 419.2 kB / 0.8938 GB, free: 14.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8134, allocations: 301.1 kB / 0.8941 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004626/0.8181, allocations: 1.359 MB / 0.8954 GB, free: 12.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/0.8229, allocations: 1.547 MB / 0.8969 GB, free: 11.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009336/0.8322, allocations: 2.868 MB / 0.8997 GB, free: 8.297 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.8322, allocations: 0 / 0.8997 GB, free: 8.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01131/0.8435, allocations: 3.382 MB / 0.903 GB, free: 4.902 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.8436, allocations: 7.938 kB / 0.9031 GB, free: 4.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.8436, allocations: 4 kB / 0.9031 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.8442, allocations: 92.77 kB / 0.9031 GB, free: 4.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/0.8481, allocations: 0.628 MB / 0.9038 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.8505, allocations: 1.628 MB / 0.9054 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.8537, allocations: 382.3 kB / 0.9057 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.8541, allocations: 111.8 kB / 0.9058 GB, free: 1.914 MB / 0.67 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.001415/0.8555, allocations: 0.5474 MB / 0.9064 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.856, allocations: 178.8 kB / 0.9065 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.8688, allocations: 3.978 MB / 0.9104 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8688, allocations: 24 kB / 0.9104 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8688, allocations: 112 / 0.9104 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.8688, allocations: 15.89 kB / 0.9104 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.8854, allocations: 7.157 MB / 0.9174 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.8854, allocations: 3.938 kB / 0.9174 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/0.889, allocations: 0.589 MB / 0.918 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/0.8895, allocations: 80.78 kB / 0.9181 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.8897, allocations: 71.92 kB / 0.9182 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.8918, allocations: 1.666 MB / 0.9198 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8918, allocations: 0 / 0.9198 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.9023, allocations: 3.444 MB / 0.9232 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9035, allocations: 0.6409 MB / 0.9238 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.9039, allocations: 55.84 kB / 0.9238 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/0.9065, allocations: 254.5 kB / 0.9241 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.9068, allocations: 149.7 kB / 0.9242 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.9071, allocations: 91.91 kB / 0.9243 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001335/0.9084, allocations: 0.8744 MB / 0.9252 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.9084, allocations: 0 / 0.9252 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002047/0.9104, allocations: 0.7748 MB / 0.9259 GB, free: 13.03 MB / 0.7012 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.00208/0.9125, allocations: 0.6513 MB / 0.9266 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.923, allocations: 3.225 MB / 0.9297 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.923, allocations: 0 / 0.9297 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005491/0.9285, allocations: 1.72 MB / 0.9314 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.9307, allocations: 404.4 kB / 0.9318 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.9432, allocations: 5.266 MB / 0.9369 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.9446, allocations: 1.641 MB / 0.9385 GB, free: 248 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.9465, allocations: 307.2 kB / 0.9388 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.9465, allocations: 0 / 0.9388 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.0733/1.02, allocations: 52.23 MB / 0.9898 GB, free: 11.75 MB / 0.7637 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++17 -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