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-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.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.001354/0.001354, allocations: 105.8 kB / 15.99 MB, free: 6.355 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.001405/0.001405, allocations: 195.9 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.9251/0.9251, allocations: 143.3 MB / 434 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 0.5146 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 82.03 MB / 0.5947 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.006508/0.4012, allocations: 7.016 MB / 0.6015 GB, free: 9.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1868/0.588, allocations: 149.7 MB / 0.7477 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5896, allocations: 27.88 kB / 0.7477 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.5906, allocations: 202.2 kB / 0.7479 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.5933, allocations: 0.6324 MB / 0.7485 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.5968, allocations: 1.377 MB / 0.7499 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.434/1.031, allocations: 3.09 MB / 0.7529 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/1.034, allocations: 2.484 MB / 0.7553 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/1.037, allocations: 1.512 MB / 0.7568 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/1.039, allocations: 1.694 MB / 0.7584 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000991/1.04, allocations: 0.498 MB / 0.7589 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/1.042, allocations: 0.8555 MB / 0.7598 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008485/1.043, allocations: 0.9771 MB / 0.7607 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/1.045, allocations: 1.779 MB / 0.7625 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/1.05, allocations: 4.471 MB / 0.7668 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.05, allocations: 0 / 0.7668 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.755e-06/1.05, allocations: 1 kB / 0.7668 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001322/1.05, allocations: 0 / 0.7668 GB, free: 1.672 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.008212/1.059, allocations: 3.411 MB / 0.7702 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.059, allocations: 11.31 kB / 0.7702 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/1.074, allocations: 2.198 MB / 0.7723 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/1.078, allocations: 1.609 MB / 0.7739 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/1.078, allocations: 247.6 kB / 0.7741 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005643/1.079, allocations: 320 kB / 0.7744 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.09, allocations: 4.264 MB / 0.7786 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/1.09, allocations: 3.938 kB / 0.7786 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/1.09, allocations: 139.8 kB / 0.7787 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.09, allocations: 78.62 kB / 0.7788 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/1.105, allocations: 4.987 MB / 0.7837 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/1.129, allocations: 10.33 MB / 0.7938 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008973/1.138, allocations: 3.091 MB / 0.7968 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/1.144, allocations: 1.627 MB / 0.7984 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009743/1.145, allocations: 0.5122 MB / 0.7989 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0055/1.15, allocations: 1.901 MB / 0.8007 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=222): time 4.939e-06/1.15, allocations: 0 / 0.8007 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=222): time 0.01552/1.166, allocations: 4.75 MB / 0.8054 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.166, allocations: 207.3 kB / 0.8056 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/1.168, allocations: 1.169 MB / 0.8067 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004248/1.168, allocations: 62.52 kB / 0.8068 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.17, allocations: 1.061 MB / 0.8078 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.171, allocations: 0.7348 MB / 0.8085 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009611/1.172, allocations: 417.7 kB / 0.8089 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.172, allocations: 301.1 kB / 0.8092 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.176, allocations: 1.36 MB / 0.8105 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004482/1.181, allocations: 1.548 MB / 0.812 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009085/1.19, allocations: 2.859 MB / 0.8148 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.19, allocations: 0 / 0.8148 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01131/1.201, allocations: 3.375 MB / 0.8181 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.201, allocations: 8 kB / 0.8181 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.201, allocations: 3.938 kB / 0.8181 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/1.202, allocations: 99.91 kB / 0.8182 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/1.206, allocations: 0.6238 MB / 0.8188 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/1.209, allocations: 1.628 MB / 0.8204 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.212, allocations: 371.6 kB / 0.8208 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.213, allocations: 107.9 kB / 0.8209 GB, free: 11.37 MB / 0.6075 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.00167/1.214, allocations: 0.5546 MB / 0.8214 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.215, allocations: 177.8 kB / 0.8216 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.228, allocations: 3.964 MB / 0.8255 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/1.228, allocations: 27.94 kB / 0.8255 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.228, allocations: 0 / 0.8255 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/1.228, allocations: 11.95 kB / 0.8255 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.246, allocations: 7.158 MB / 0.8325 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.246, allocations: 4 kB / 0.8325 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003812/1.25, allocations: 0.59 MB / 0.8331 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/1.25, allocations: 76.78 kB / 0.8332 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/1.251, allocations: 75.91 kB / 0.8332 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/1.253, allocations: 1.662 MB / 0.8348 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.253, allocations: 4.062 kB / 0.8349 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.264, allocations: 3.438 MB / 0.8382 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.266, allocations: 0.623 MB / 0.8388 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/1.266, allocations: 55.78 kB / 0.8389 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.269, allocations: 251.7 kB / 0.8391 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/1.269, allocations: 147.7 kB / 0.8393 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.27, allocations: 91.91 kB / 0.8393 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001485/1.271, allocations: 0.8783 MB / 0.8402 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.271, allocations: 0 / 0.8402 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002415/1.273, allocations: 0.7664 MB / 0.8409 GB, free: 6.645 MB / 0.6231 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.002247/1.276, allocations: 0.6544 MB / 0.8416 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.291, allocations: 3.896 MB / 0.8454 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.291, allocations: 2.656 kB / 0.8454 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00578/1.297, allocations: 1.848 MB / 0.8472 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.299, allocations: 404 kB / 0.8476 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.314, allocations: 6.579 MB / 0.854 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.316, allocations: 1.649 MB / 0.8556 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.318, allocations: 307.1 kB / 0.8559 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of SimCode: time 1.603e-06/1.318, allocations: 0 / 0.8559 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.07879/1.397, allocations: 51.85 MB / 0.9065 GB, free: 3.895 MB / 0.6856 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