Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000993/0.0009931, allocations: 91.53 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.001171/0.001171, allocations: 178.4 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.266 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.002/1.002, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 15.98 kB / 0.5171 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 83.4 MB / 0.5985 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005228/0.1833, allocations: 3.725 MB / 0.6021 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4909/0.6742, allocations: 146.6 MB / 0.7453 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009305/0.6752, allocations: 14.97 kB / 0.7453 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.6759, allocations: 135.2 kB / 0.7454 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.6775, allocations: 405.5 kB / 0.7458 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.6797, allocations: 0.688 MB / 0.7465 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.681, allocations: 1.109 MB / 0.7476 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.6818, allocations: 0.5853 MB / 0.7481 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.6823, allocations: 305.1 kB / 0.7484 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.6828, allocations: 333.3 kB / 0.7488 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.6828, allocations: 21.06 kB / 0.7488 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.6837, allocations: 366.2 kB / 0.7491 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.6839, allocations: 168 kB / 0.7493 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.6843, allocations: 415.8 kB / 0.7497 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.6854, allocations: 1.135 MB / 0.7508 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6854, allocations: 0 / 0.7508 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6854, allocations: 0 / 0.7508 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6854, allocations: 1.375 kB / 0.7508 GB, free: 15.4 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001959/0.6874, allocations: 1.131 MB / 0.7519 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.6874, allocations: 9.5 kB / 0.7519 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.6884, allocations: 192.9 kB / 0.7521 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.6893, allocations: 0.7055 MB / 0.7528 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.6894, allocations: 62.98 kB / 0.7528 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6895, allocations: 78.97 kB / 0.7529 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.691, allocations: 0.8761 MB / 0.7538 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6911, allocations: 3.938 kB / 0.7538 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.6912, allocations: 32 kB / 0.7538 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.6912, allocations: 20 kB / 0.7538 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6928, allocations: 1.074 MB / 0.7549 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.6966, allocations: 2.412 MB / 0.7572 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.6979, allocations: 0.8011 MB / 0.758 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.6984, allocations: 290.7 kB / 0.7583 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-05/0.6986, allocations: 32.67 kB / 0.7583 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/0.6993, allocations: 428 kB / 0.7587 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.6994, allocations: 7.938 kB / 0.7587 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002954/0.7023, allocations: 1.1 MB / 0.7598 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.7024, allocations: 188.6 kB / 0.76 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.7032, allocations: 0.59 MB / 0.7606 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.7032, allocations: 37.7 kB / 0.7606 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.7035, allocations: 376.3 kB / 0.761 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.7037, allocations: 252.4 kB / 0.7612 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.7038, allocations: 63.19 kB / 0.7613 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.704, allocations: 378.8 kB / 0.7616 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.7044, allocations: 241.9 kB / 0.7618 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.705, allocations: 340 kB / 0.7622 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.706, allocations: 0.569 MB / 0.7627 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.706, allocations: 3.938 kB / 0.7627 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00173/0.7077, allocations: 0.7864 MB / 0.7635 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7078, allocations: 7.984 kB / 0.7635 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.7078, allocations: 4.125 kB / 0.7635 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.7084, allocations: 80.78 kB / 0.7636 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.709, allocations: 159.7 kB / 0.7637 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.7111, allocations: 1.522 MB / 0.7652 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.7118, allocations: 83.55 kB / 0.7653 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.7119, allocations: 31.97 kB / 0.7653 GB, free: 0.5273 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.000415/0.7123, allocations: 257.6 kB / 0.7656 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7124, allocations: 75.06 kB / 0.7657 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.7146, allocations: 1.012 MB / 0.7666 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7147, allocations: 12 kB / 0.7667 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7147, allocations: 3.984 kB / 0.7667 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7147, allocations: 3.984 kB / 0.7667 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.7177, allocations: 1.868 MB / 0.7685 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7178, allocations: 0 / 0.7685 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.7183, allocations: 151.8 kB / 0.7686 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.7189, allocations: 88.7 kB / 0.7687 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.7189, allocations: 31.86 kB / 0.7687 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.7207, allocations: 1.548 MB / 0.7703 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7207, allocations: 4.062 kB / 0.7703 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.7225, allocations: 0.9296 MB / 0.7712 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.7229, allocations: 271.8 kB / 0.7714 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.723, allocations: 16 kB / 0.7714 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.7236, allocations: 72.48 kB / 0.7715 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7237, allocations: 56.91 kB / 0.7716 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.7238, allocations: 35.92 kB / 0.7716 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005351/0.7243, allocations: 427 kB / 0.772 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7243, allocations: 0 / 0.772 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009665/0.7253, allocations: 299.2 kB / 0.7723 GB, free: 9.16 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.001518/0.7268, allocations: 0.5905 MB / 0.7729 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7284, allocations: 0.7688 MB / 0.7736 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7284, allocations: 0 / 0.7736 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.7292, allocations: 0.4924 MB / 0.7741 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.7305, allocations: 274.8 kB / 0.7744 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.7347, allocations: 2.166 MB / 0.7765 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.7352, allocations: 0.9996 MB / 0.7775 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.7356, allocations: 111.4 kB / 0.7776 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.7356, allocations: 0 / 0.7776 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of Templates: time 0.02634/0.7619, allocations: 17.07 MB / 0.7942 GB, free: 2.895 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1