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.00159/0.00159, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001921/0.001921, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.09 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.8898/0.8898, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.42 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1525, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.0059/0.1584, allocations: 4.184 MB / 0.6804 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4951/0.6536, allocations: 150.6 MB / 0.8275 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009461/0.6546, allocations: 17.06 kB / 0.8275 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007849/0.6554, allocations: 163.8 kB / 0.8277 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.6575, allocations: 495.5 kB / 0.8281 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.6596, allocations: 0.8009 MB / 0.8289 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.6613, allocations: 1.212 MB / 0.8301 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6625, allocations: 0.6241 MB / 0.8307 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008984/0.6634, allocations: 453.1 kB / 0.8311 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009104/0.6643, allocations: 465.6 kB / 0.8316 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.6646, allocations: 105.8 kB / 0.8317 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.6659, allocations: 478.8 kB / 0.8321 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.6663, allocations: 272.6 kB / 0.8324 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.667, allocations: 0.5048 MB / 0.8329 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.6692, allocations: 1.57 MB / 0.8344 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6692, allocations: 4 kB / 0.8344 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6692, allocations: 0 / 0.8344 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.467e-05/0.6693, allocations: 0.9375 kB / 0.8344 GB, free: 7.742 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.003014/0.6723, allocations: 1.35 MB / 0.8358 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6723, allocations: 7.375 kB / 0.8358 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009752/0.6733, allocations: 179.4 kB / 0.8359 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6745, allocations: 0.7351 MB / 0.8366 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.6745, allocations: 61.89 kB / 0.8367 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/0.6746, allocations: 80.81 kB / 0.8368 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.676, allocations: 0.889 MB / 0.8377 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.676, allocations: 0 / 0.8377 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.6761, allocations: 32.06 kB / 0.8377 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6761, allocations: 20.53 kB / 0.8377 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.6777, allocations: 1.096 MB / 0.8388 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.6814, allocations: 2.468 MB / 0.8412 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.6826, allocations: 0.7352 MB / 0.8419 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.6831, allocations: 286.1 kB / 0.8422 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.6832, allocations: 33.14 kB / 0.8422 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007222/0.6839, allocations: 448 kB / 0.8426 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/0.6839, allocations: 3.984 kB / 0.8426 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002971/0.6869, allocations: 1.113 MB / 0.8437 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.687, allocations: 191.9 kB / 0.8439 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.6877, allocations: 0.6011 MB / 0.8445 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.6878, allocations: 42.42 kB / 0.8445 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.6881, allocations: 385.5 kB / 0.8449 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6883, allocations: 246.8 kB / 0.8451 GB, free: 308 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.6885, allocations: 162.2 kB / 0.8453 GB, free: 204 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6887, allocations: 384.5 kB / 0.8457 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.6892, allocations: 247.9 kB / 0.8459 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.6898, allocations: 341.5 kB / 0.8462 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6908, allocations: 0.5916 MB / 0.8468 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6908, allocations: 4 kB / 0.8468 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001825/0.6927, allocations: 0.8137 MB / 0.8476 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6927, allocations: 8 kB / 0.8476 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6927, allocations: 0 / 0.8476 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.6933, allocations: 80.83 kB / 0.8477 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/0.694, allocations: 155.8 kB / 0.8478 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.6961, allocations: 1.632 MB / 0.8494 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.6968, allocations: 79.33 kB / 0.8495 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.6969, allocations: 35.97 kB / 0.8495 GB, free: 11.82 MB / 0.6231 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.0004203/0.6973, allocations: 255.3 kB / 0.8498 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.6975, allocations: 86.98 kB / 0.8499 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.6998, allocations: 1.023 MB / 0.8509 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6998, allocations: 8 kB / 0.8509 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6999, allocations: 9.766 kB / 0.8509 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6999, allocations: 3.984 kB / 0.8509 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.703, allocations: 1.881 MB / 0.8527 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.703, allocations: 0 / 0.8527 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.7036, allocations: 147.8 kB / 0.8529 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.7041, allocations: 72.78 kB / 0.8529 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.7041, allocations: 23.98 kB / 0.853 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.706, allocations: 1.654 MB / 0.8546 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.706, allocations: 3.938 kB / 0.8546 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.7079, allocations: 0.9317 MB / 0.8555 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.7082, allocations: 259.8 kB / 0.8557 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.7083, allocations: 16 kB / 0.8557 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.7089, allocations: 59.94 kB / 0.8558 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.7091, allocations: 56.86 kB / 0.8559 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.7091, allocations: 35.97 kB / 0.8559 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000538/0.7097, allocations: 443 kB / 0.8563 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7097, allocations: 0 / 0.8563 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008466/0.7105, allocations: 295.2 kB / 0.8566 GB, free: 4.328 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.001319/0.7119, allocations: 0.6028 MB / 0.8572 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.7135, allocations: 0.7849 MB / 0.8579 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7135, allocations: 0 / 0.8579 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/0.7144, allocations: 0.4926 MB / 0.8584 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7156, allocations: 301.4 kB / 0.8587 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.7193, allocations: 1.719 MB / 0.8604 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.7199, allocations: 1.003 MB / 0.8614 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7202, allocations: 119.2 kB / 0.8615 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.7202, allocations: 0 / 0.8615 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of Templates: time 0.02628/0.7465, allocations: 17.75 MB / 0.8788 GB, free: 13.73 MB / 0.6544 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++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.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