Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009596, allocations: 92.16 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.001277/0.001277, allocations: 173 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.328 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.011/1.011, allocations: 143.2 MB / 435.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1855, allocations: 83.41 MB / 0.5985 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005003/0.1906, allocations: 3.763 MB / 0.6022 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5032/0.6939, allocations: 146.7 MB / 0.7455 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.6945, allocations: 18.44 kB / 0.7455 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.695, allocations: 127.8 kB / 0.7456 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.6965, allocations: 418.9 kB / 0.746 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.6984, allocations: 0.691 MB / 0.7467 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.6997, allocations: 1.129 MB / 0.7478 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007824/0.7005, allocations: 0.5826 MB / 0.7484 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.701, allocations: 317.3 kB / 0.7487 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.7014, allocations: 344 kB / 0.749 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.7015, allocations: 23.53 kB / 0.749 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.7023, allocations: 367.5 kB / 0.7494 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.7026, allocations: 175.2 kB / 0.7495 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.703, allocations: 421 kB / 0.7499 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.7042, allocations: 1.151 MB / 0.7511 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7042, allocations: 0 / 0.7511 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7042, allocations: 1.469 kB / 0.7511 GB, free: 15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.7042, allocations: 0 / 0.7511 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001954/0.7062, allocations: 1.146 MB / 0.7522 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7062, allocations: 8.25 kB / 0.7522 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/0.7071, allocations: 192.1 kB / 0.7524 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.7081, allocations: 0.7062 MB / 0.7531 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.7082, allocations: 63.78 kB / 0.7531 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.7083, allocations: 76.22 kB / 0.7532 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7099, allocations: 0.8911 MB / 0.7541 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.7099, allocations: 3.984 kB / 0.7541 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.71, allocations: 39.98 kB / 0.7541 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.71, allocations: 24.56 kB / 0.7541 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.7117, allocations: 1.1 MB / 0.7552 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.7157, allocations: 2.523 MB / 0.7577 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.717, allocations: 0.7414 MB / 0.7584 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.7176, allocations: 294.6 kB / 0.7587 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/0.7177, allocations: 36.59 kB / 0.7587 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008113/0.7185, allocations: 452.3 kB / 0.7591 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 4.569e-06/0.7185, allocations: 0 / 0.7591 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003043/0.7216, allocations: 1.131 MB / 0.7602 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.7217, allocations: 192.6 kB / 0.7604 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.7224, allocations: 0.6018 MB / 0.761 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.7225, allocations: 37.7 kB / 0.761 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.7228, allocations: 380.2 kB / 0.7614 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.723, allocations: 252.3 kB / 0.7617 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.7231, allocations: 69.67 kB / 0.7617 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7233, allocations: 382.7 kB / 0.7621 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.7238, allocations: 257.8 kB / 0.7623 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.7244, allocations: 355 kB / 0.7627 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7255, allocations: 0.5877 MB / 0.7632 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7255, allocations: 3.984 kB / 0.7632 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001882/0.7274, allocations: 0.8138 MB / 0.764 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7275, allocations: 16.08 kB / 0.7641 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.7275, allocations: 0 / 0.7641 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.7281, allocations: 84.78 kB / 0.7641 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.7287, allocations: 167.5 kB / 0.7643 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7308, allocations: 1.52 MB / 0.7658 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.7315, allocations: 87.38 kB / 0.7659 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.7315, allocations: 31.97 kB / 0.7659 GB, free: 15.87 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 (89): * Single equations (assignments): 88 * 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.0004283/0.732, allocations: 253.7 kB / 0.7661 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7321, allocations: 83.05 kB / 0.7662 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.7344, allocations: 1.036 MB / 0.7672 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7344, allocations: 8 kB / 0.7672 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.7345, allocations: 0 / 0.7672 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.7345, allocations: 3.984 kB / 0.7672 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.7375, allocations: 1.903 MB / 0.7691 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7375, allocations: 0 / 0.7691 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.7381, allocations: 147.7 kB / 0.7692 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.7387, allocations: 92.66 kB / 0.7693 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/0.7387, allocations: 27.97 kB / 0.7694 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.7406, allocations: 1.548 MB / 0.7709 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7406, allocations: 0 / 0.7709 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.7424, allocations: 0.9375 MB / 0.7718 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.7428, allocations: 271.8 kB / 0.772 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.743, allocations: 16 kB / 0.7721 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.7436, allocations: 73.47 kB / 0.7721 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7438, allocations: 60.84 kB / 0.7722 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.7438, allocations: 31.98 kB / 0.7722 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005813/0.7444, allocations: 447 kB / 0.7726 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7444, allocations: 0 / 0.7726 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009199/0.7453, allocations: 299.2 kB / 0.7729 GB, free: 8.43 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 (87): * Single equations (assignments): 84 * 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.001469/0.7468, allocations: 0.5903 MB / 0.7735 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.7485, allocations: 0.7959 MB / 0.7743 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7485, allocations: 0 / 0.7743 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.7494, allocations: 0.5003 MB / 0.7748 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7507, allocations: 273.8 kB / 0.775 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.755, allocations: 2.192 MB / 0.7772 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.7557, allocations: 1.007 MB / 0.7782 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.756, allocations: 111.4 kB / 0.7783 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.756, allocations: 0 / 0.7783 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of Templates: time 0.02423/0.7803, allocations: 17.39 MB / 0.7952 GB, free: 1.781 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.o] Error 1