Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006562/0.006561, allocations: 101.8 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.001151/0.001151, allocations: 192.4 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.037/1.037, allocations: 143.1 MB / 433.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 0.5142 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1731, allocations: 82.03 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007216/0.1803, allocations: 4.131 MB / 0.5983 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5534/0.7338, allocations: 148.2 MB / 0.743 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.7347, allocations: 15.28 kB / 0.743 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.7353, allocations: 138.9 kB / 0.7431 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.7369, allocations: 397.2 kB / 0.7435 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.7389, allocations: 0.6839 MB / 0.7442 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.7402, allocations: 1.114 MB / 0.7453 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.7411, allocations: 0.5923 MB / 0.7459 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.7417, allocations: 375 kB / 0.7462 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.7421, allocations: 418.1 kB / 0.7466 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.7422, allocations: 50.25 kB / 0.7467 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.7431, allocations: 395.9 kB / 0.747 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.7433, allocations: 219.9 kB / 0.7472 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.7438, allocations: 452.4 kB / 0.7477 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.7449, allocations: 1.157 MB / 0.7488 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.745, allocations: 1.406 kB / 0.7488 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.81e-07/0.745, allocations: 0 / 0.7488 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.745, allocations: 4 kB / 0.7488 GB, free: 15 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002332/0.7473, allocations: 1.32 MB / 0.7501 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7474, allocations: 9.625 kB / 0.7501 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.7483, allocations: 176.2 kB / 0.7503 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.7493, allocations: 0.6999 MB / 0.751 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.7494, allocations: 58 kB / 0.751 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7495, allocations: 80.5 kB / 0.7511 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.7509, allocations: 0.8637 MB / 0.7519 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.7509, allocations: 0 / 0.7519 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.751, allocations: 36 kB / 0.752 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.751, allocations: 20 kB / 0.752 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.7526, allocations: 1.067 MB / 0.753 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.7561, allocations: 2.373 MB / 0.7553 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7574, allocations: 0.7968 MB / 0.7561 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.7579, allocations: 279.4 kB / 0.7564 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.758, allocations: 28.59 kB / 0.7564 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.7588, allocations: 427.2 kB / 0.7568 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.7588, allocations: 4 kB / 0.7568 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002907/0.7617, allocations: 1.073 MB / 0.7579 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.7618, allocations: 188.6 kB / 0.7581 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/0.7625, allocations: 0.5861 MB / 0.7586 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.7626, allocations: 41.7 kB / 0.7587 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.7629, allocations: 368.3 kB / 0.759 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7631, allocations: 244.5 kB / 0.7593 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.7633, allocations: 146.5 kB / 0.7594 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7635, allocations: 394.7 kB / 0.7598 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.7639, allocations: 234.4 kB / 0.76 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.7645, allocations: 319.4 kB / 0.7603 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.7655, allocations: 0.555 MB / 0.7608 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.7655, allocations: 0 / 0.7608 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001802/0.7673, allocations: 0.7665 MB / 0.7616 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7674, allocations: 8 kB / 0.7616 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7674, allocations: 0.5625 kB / 0.7616 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.768, allocations: 81.44 kB / 0.7617 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.7686, allocations: 143.8 kB / 0.7618 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.7706, allocations: 1.524 MB / 0.7633 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.7713, allocations: 83.55 kB / 0.7634 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.7714, allocations: 36.03 kB / 0.7634 GB, free: 15.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * 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.0004308/0.7718, allocations: 253.7 kB / 0.7637 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.772, allocations: 75.06 kB / 0.7637 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7742, allocations: 1.003 MB / 0.7647 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7742, allocations: 8 kB / 0.7647 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.7743, allocations: 0 / 0.7647 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.7743, allocations: 4.734 kB / 0.7647 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.7773, allocations: 1.849 MB / 0.7665 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7774, allocations: 4 kB / 0.7665 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.7779, allocations: 145.9 kB / 0.7667 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.7784, allocations: 88.75 kB / 0.7668 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.7785, allocations: 23.98 kB / 0.7668 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.7803, allocations: 1.544 MB / 0.7683 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7803, allocations: 0.5 kB / 0.7683 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.782, allocations: 0.9192 MB / 0.7692 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.7824, allocations: 247.8 kB / 0.7694 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.7825, allocations: 19.98 kB / 0.7694 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.7831, allocations: 51.64 kB / 0.7695 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.7832, allocations: 64.91 kB / 0.7695 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.7833, allocations: 31.92 kB / 0.7696 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000524/0.7838, allocations: 435 kB / 0.77 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7838, allocations: 0 / 0.77 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008623/0.7847, allocations: 295.1 kB / 0.7703 GB, free: 8.637 MB / 0.5919 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 (86): * Single equations (assignments): 83 * 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.001388/0.7861, allocations: 0.5988 MB / 0.7709 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.7876, allocations: 0.7477 MB / 0.7716 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.7876, allocations: 0 / 0.7716 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.7884, allocations: 492.2 kB / 0.7721 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.7896, allocations: 276 kB / 0.7723 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.7936, allocations: 2.095 MB / 0.7744 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.7942, allocations: 0.9996 MB / 0.7753 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.7945, allocations: 107.4 kB / 0.7754 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.7945, allocations: 0 / 0.7754 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.0228/0.8174, allocations: 17.09 MB / 0.7921 GB, free: 2.445 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1