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.001392/0.001392, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001388/0.001388, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.8128/0.8128, allocations: 143.1 MB / 434.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.89 kB / 0.5148 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.346, allocations: 82.03 MB / 0.5949 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004875/0.3509, allocations: 4.116 MB / 0.599 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1511/0.502, allocations: 150.5 MB / 0.7459 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.5028, allocations: 19.88 kB / 0.7459 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.5035, allocations: 162.5 kB / 0.7461 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.5052, allocations: 481.9 kB / 0.7465 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.5071, allocations: 0.7932 MB / 0.7473 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.5085, allocations: 1.18 MB / 0.7485 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5096, allocations: 0.6098 MB / 0.7491 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006577/0.5103, allocations: 430.5 kB / 0.7495 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.5109, allocations: 450 kB / 0.7499 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.5112, allocations: 104 kB / 0.75 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.5121, allocations: 447.6 kB / 0.7504 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.5124, allocations: 275.1 kB / 0.7507 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3037/0.8161, allocations: 498.5 kB / 0.7512 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.8189, allocations: 1.503 MB / 0.7526 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8189, allocations: 0 / 0.7526 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.796e-06/0.819, allocations: 1.375 kB / 0.7526 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.819, allocations: 1.203 kB / 0.7526 GB, free: 3.551 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.002978/0.822, allocations: 1.329 MB / 0.7539 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.822, allocations: 9.094 kB / 0.7539 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.8231, allocations: 178.1 kB / 0.7541 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.8243, allocations: 0.6975 MB / 0.7548 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/0.8244, allocations: 64.88 kB / 0.7549 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.8245, allocations: 77.03 kB / 0.7549 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.8262, allocations: 0.8615 MB / 0.7558 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.8263, allocations: 3.469 kB / 0.7558 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.8263, allocations: 37.22 kB / 0.7558 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.8264, allocations: 19.38 kB / 0.7558 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.8281, allocations: 1.063 MB / 0.7569 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.8318, allocations: 2.375 MB / 0.7592 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.8331, allocations: 0.7978 MB / 0.76 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.8336, allocations: 274.4 kB / 0.7602 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/0.8337, allocations: 34.77 kB / 0.7603 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/0.8346, allocations: 423 kB / 0.7607 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.8346, allocations: 0.875 kB / 0.7607 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.003092/0.8377, allocations: 1.069 MB / 0.7617 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.8378, allocations: 195.9 kB / 0.7619 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.8387, allocations: 0.5879 MB / 0.7625 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.8388, allocations: 42.31 kB / 0.7625 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.8391, allocations: 375.5 kB / 0.7629 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.8392, allocations: 235.5 kB / 0.7631 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.8395, allocations: 154 kB / 0.7632 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8397, allocations: 378 kB / 0.7636 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.8403, allocations: 236.7 kB / 0.7638 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.841, allocations: 326.9 kB / 0.7641 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.8421, allocations: 0.5543 MB / 0.7647 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.8421, allocations: 0 / 0.7647 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001716/0.8438, allocations: 0.7668 MB / 0.7654 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.8439, allocations: 6.719 kB / 0.7654 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.8439, allocations: 5.516 kB / 0.7654 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.8445, allocations: 80.38 kB / 0.7655 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.845, allocations: 144.6 kB / 0.7656 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.8471, allocations: 1.634 MB / 0.7672 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.8478, allocations: 76.77 kB / 0.7673 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.8478, allocations: 41.61 kB / 0.7674 GB, free: 14.52 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.0003792/0.8482, allocations: 250.9 kB / 0.7676 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.8484, allocations: 74.84 kB / 0.7677 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.8506, allocations: 1.002 MB / 0.7686 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8507, allocations: 9.188 kB / 0.7687 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.8507, allocations: 1.719 kB / 0.7687 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8507, allocations: 7.188 kB / 0.7687 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.8537, allocations: 1.85 MB / 0.7705 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8537, allocations: 3.688 kB / 0.7705 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.8542, allocations: 144.1 kB / 0.7706 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.8546, allocations: 79 kB / 0.7707 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.8547, allocations: 25.45 kB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.8567, allocations: 1.656 MB / 0.7723 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8567, allocations: 0 / 0.7723 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.8586, allocations: 0.914 MB / 0.7732 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.859, allocations: 254.8 kB / 0.7735 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.8592, allocations: 22.28 kB / 0.7735 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.8598, allocations: 58.08 kB / 0.7735 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8599, allocations: 60.3 kB / 0.7736 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/0.86, allocations: 32.17 kB / 0.7736 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005304/0.8605, allocations: 428.4 kB / 0.774 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.92e-07/0.8605, allocations: 0 / 0.774 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009221/0.8614, allocations: 294.2 kB / 0.7743 GB, free: 11.99 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.0015/0.863, allocations: 0.5961 MB / 0.7749 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.865, allocations: 0.9444 MB / 0.7758 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.865, allocations: 2.266 kB / 0.7758 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.8658, allocations: 496.7 kB / 0.7763 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.8671, allocations: 306.5 kB / 0.7766 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.8705, allocations: 1.704 MB / 0.7783 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.8711, allocations: 1.003 MB / 0.7792 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.8713, allocations: 114.6 kB / 0.7793 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.8714, allocations: 0.9688 kB / 0.7793 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.02098/0.8923, allocations: 17.1 MB / 0.796 GB, free: 6.77 MB / 0.5919 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++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.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