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.001464/0.001464, allocations: 102.2 kB / 16.41 MB, free: 5.953 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.001418/0.001418, allocations: 185.8 kB / 17.34 MB, free: 5.578 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.05 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.876/0.876, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 60.62 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.158, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006065/0.164, allocations: 4.147 MB / 0.6803 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4929/0.6569, allocations: 150.9 MB / 0.8277 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.6577, allocations: 21.09 kB / 0.8277 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.6583, allocations: 162 kB / 0.8279 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.6599, allocations: 486.1 kB / 0.8284 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.6618, allocations: 0.8016 MB / 0.8291 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.663, allocations: 1.203 MB / 0.8303 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.6638, allocations: 451.2 kB / 0.8307 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.6643, allocations: 444.8 kB / 0.8312 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.6649, allocations: 450.5 kB / 0.8316 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.665, allocations: 101.5 kB / 0.8317 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.6658, allocations: 479.6 kB / 0.8322 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.6661, allocations: 268.6 kB / 0.8324 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.6666, allocations: 0.4981 MB / 0.8329 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.6684, allocations: 1.552 MB / 0.8344 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6684, allocations: 3.938 kB / 0.8344 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6684, allocations: 0 / 0.8344 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6684, allocations: 0 / 0.8344 GB, free: 7.773 MB / 0.6075 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.002216/0.6706, allocations: 1.368 MB / 0.8358 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6707, allocations: 13.97 kB / 0.8358 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.6715, allocations: 184.5 kB / 0.8359 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6726, allocations: 0.7283 MB / 0.8367 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.6727, allocations: 56.62 kB / 0.8367 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.6728, allocations: 85.09 kB / 0.8368 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6742, allocations: 0.8726 MB / 0.8376 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6742, allocations: 0 / 0.8376 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.6743, allocations: 35.62 kB / 0.8377 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.6743, allocations: 20.81 kB / 0.8377 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.676, allocations: 1.06 MB / 0.8387 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.6796, allocations: 2.366 MB / 0.841 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6808, allocations: 0.7537 MB / 0.8418 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.6813, allocations: 257.8 kB / 0.842 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.6814, allocations: 32.69 kB / 0.8421 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007504/0.6821, allocations: 433.7 kB / 0.8425 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.6821, allocations: 0 / 0.8425 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002893/0.685, allocations: 1.089 MB / 0.8435 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6851, allocations: 188.8 kB / 0.8437 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.6859, allocations: 0.5855 MB / 0.8443 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.6859, allocations: 38.14 kB / 0.8443 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6862, allocations: 387.5 kB / 0.8447 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.6865, allocations: 256.1 kB / 0.8449 GB, free: 372 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.6867, allocations: 150 kB / 0.8451 GB, free: 276 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.6869, allocations: 381.8 kB / 0.8454 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.6874, allocations: 237.4 kB / 0.8457 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.6879, allocations: 333.4 kB / 0.846 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.689, allocations: 0.5635 MB / 0.8465 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.689, allocations: 4 kB / 0.8465 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001857/0.6908, allocations: 0.7867 MB / 0.8473 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6909, allocations: 4 kB / 0.8473 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.6909, allocations: 4 kB / 0.8473 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.6914, allocations: 84.83 kB / 0.8474 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.692, allocations: 147.8 kB / 0.8475 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.6943, allocations: 1.632 MB / 0.8491 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.6949, allocations: 80.31 kB / 0.8492 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.6949, allocations: 32.86 kB / 0.8492 GB, free: 12.21 MB / 0.6231 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.0004079/0.6954, allocations: 256.7 kB / 0.8495 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6955, allocations: 87.48 kB / 0.8496 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.6978, allocations: 1 MB / 0.8505 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6978, allocations: 8 kB / 0.8506 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6978, allocations: 0 / 0.8506 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6979, allocations: 3.984 kB / 0.8506 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.701, allocations: 1.862 MB / 0.8524 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.701, allocations: 7.875 kB / 0.8524 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.7016, allocations: 151.8 kB / 0.8525 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.702, allocations: 72.78 kB / 0.8526 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.7021, allocations: 25.67 kB / 0.8526 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.7041, allocations: 1.654 MB / 0.8542 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7042, allocations: 1.641 kB / 0.8542 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.7061, allocations: 0.9205 MB / 0.8551 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.7065, allocations: 272.2 kB / 0.8554 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.7066, allocations: 16 kB / 0.8554 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.7071, allocations: 55.94 kB / 0.8555 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7073, allocations: 60.92 kB / 0.8555 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.7073, allocations: 27.98 kB / 0.8555 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005708/0.7079, allocations: 427 kB / 0.856 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7079, allocations: 0 / 0.856 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000855/0.7087, allocations: 295.2 kB / 0.8562 GB, free: 4.789 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 (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.001911/0.7107, allocations: 0.5993 MB / 0.8568 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.7122, allocations: 0.7375 MB / 0.8575 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.7122, allocations: 4.25 kB / 0.8575 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.7131, allocations: 464.2 kB / 0.858 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.7143, allocations: 303 kB / 0.8583 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.718, allocations: 1.732 MB / 0.86 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.7187, allocations: 1.003 MB / 0.8609 GB, free: 84 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.719, allocations: 103.4 kB / 0.861 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.719, allocations: 0 / 0.861 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.02373/0.7427, allocations: 17.3 MB / 0.8779 GB, free: 14.72 MB / 0.6544 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++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.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