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.001514/0.001514, allocations: 114 kB / 16.41 MB, free: 6.492 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.001493/0.001493, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.8794/0.8794, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 61.31 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006032/0.161, allocations: 4.176 MB / 0.6804 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5165/0.6776, allocations: 151.1 MB / 0.8279 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.6783, allocations: 20.88 kB / 0.8279 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.6788, allocations: 166.6 kB / 0.8281 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.6805, allocations: 0.4923 MB / 0.8286 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.6822, allocations: 0.8008 MB / 0.8294 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.6835, allocations: 1.214 MB / 0.8305 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.6843, allocations: 471.1 kB / 0.831 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.6849, allocations: 457.8 kB / 0.8314 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.6854, allocations: 458.2 kB / 0.8319 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.6855, allocations: 104.1 kB / 0.832 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008397/0.6863, allocations: 479.3 kB / 0.8324 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.6866, allocations: 277.5 kB / 0.8327 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.687, allocations: 0.5027 MB / 0.8332 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.6888, allocations: 1.576 MB / 0.8347 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6888, allocations: 0 / 0.8347 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6888, allocations: 0 / 0.8347 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.6888, allocations: 0 / 0.8347 GB, free: 7.531 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.002256/0.6911, allocations: 1.388 MB / 0.8361 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6911, allocations: 7.344 kB / 0.8361 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.692, allocations: 186 kB / 0.8363 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.6931, allocations: 0.7396 MB / 0.837 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.6931, allocations: 58.75 kB / 0.837 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.6932, allocations: 83.06 kB / 0.8371 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6947, allocations: 0.8876 MB / 0.838 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.6947, allocations: 1.969 kB / 0.838 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.6948, allocations: 33.16 kB / 0.838 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6948, allocations: 20.34 kB / 0.838 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.6965, allocations: 1.102 MB / 0.8391 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.7002, allocations: 2.474 MB / 0.8415 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.7014, allocations: 0.678 MB / 0.8422 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.7019, allocations: 270.9 kB / 0.8425 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.014e-05/0.702, allocations: 35.44 kB / 0.8425 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008031/0.7028, allocations: 441.7 kB / 0.8429 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.7028, allocations: 0 / 0.8429 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.003011/0.7058, allocations: 1.119 MB / 0.844 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.706, allocations: 191.8 kB / 0.8442 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.7067, allocations: 0.6014 MB / 0.8448 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.7068, allocations: 46.05 kB / 0.8448 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.7071, allocations: 388.7 kB / 0.8452 GB, free: 268 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.7074, allocations: 258.5 kB / 0.8454 GB, free: 40 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.7076, allocations: 160.8 kB / 0.8456 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.7078, allocations: 379.9 kB / 0.8459 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.7083, allocations: 250.8 kB / 0.8462 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.7089, allocations: 353.3 kB / 0.8465 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.71, allocations: 0.5838 MB / 0.8471 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7101, allocations: 4 kB / 0.8471 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001984/0.712, allocations: 0.8219 MB / 0.8479 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.7121, allocations: 7.984 kB / 0.8479 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7121, allocations: 0 / 0.8479 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.7126, allocations: 80.84 kB / 0.848 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.7133, allocations: 162.6 kB / 0.8481 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.7155, allocations: 1.627 MB / 0.8497 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.7162, allocations: 83.55 kB / 0.8498 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.7163, allocations: 35.97 kB / 0.8498 GB, free: 11.64 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.0004509/0.7167, allocations: 254.6 kB / 0.8501 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.7169, allocations: 83.42 kB / 0.8502 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.7193, allocations: 1.03 MB / 0.8512 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7193, allocations: 8 kB / 0.8512 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.7193, allocations: 0 / 0.8512 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7193, allocations: 7.984 kB / 0.8512 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.7225, allocations: 1.877 MB / 0.853 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.7226, allocations: 0 / 0.853 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.7231, allocations: 147.8 kB / 0.8532 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.7236, allocations: 76.77 kB / 0.8532 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.7236, allocations: 23.98 kB / 0.8533 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.7256, allocations: 1.662 MB / 0.8549 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7256, allocations: 3.938 kB / 0.8549 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.7276, allocations: 0.9283 MB / 0.8558 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.728, allocations: 268.1 kB / 0.856 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.7281, allocations: 19.95 kB / 0.8561 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.7287, allocations: 51.95 kB / 0.8561 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7289, allocations: 64.91 kB / 0.8562 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.7289, allocations: 27.98 kB / 0.8562 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006025/0.7295, allocations: 447 kB / 0.8566 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7295, allocations: 0 / 0.8566 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009007/0.7304, allocations: 299.2 kB / 0.8569 GB, free: 4.137 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.001909/0.7323, allocations: 0.591 MB / 0.8575 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.734, allocations: 0.761 MB / 0.8582 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.734, allocations: 4 kB / 0.8582 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.7349, allocations: 468.2 kB / 0.8587 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.7361, allocations: 302.3 kB / 0.859 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.7399, allocations: 1.755 MB / 0.8607 GB, free: 432 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.7405, allocations: 1.015 MB / 0.8617 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7408, allocations: 111.3 kB / 0.8618 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.7408, allocations: 0 / 0.8618 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.0256/0.7664, allocations: 17.65 MB / 0.879 GB, free: 13.66 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