Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 112 kB / 16.41 MB, free: 6.484 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.00106/0.001061, allocations: 183 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 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.9832/0.9832, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 60.22 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1507, allocations: 82.04 MB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009118/0.1599, allocations: 4.91 MB / 0.6811 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5991/0.7591, allocations: 150.9 MB / 0.8285 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.7602, allocations: 20.59 kB / 0.8285 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.761, allocations: 184.1 kB / 0.8287 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.7632, allocations: 0.5916 MB / 0.8292 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.7655, allocations: 0.8924 MB / 0.8301 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.7674, allocations: 1.587 MB / 0.8317 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.7689, allocations: 1.06 MB / 0.8327 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/0.7699, allocations: 0.6996 MB / 0.8334 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.771, allocations: 0.7379 MB / 0.8341 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.7713, allocations: 176.2 kB / 0.8343 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.7726, allocations: 0.5293 MB / 0.8348 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.7731, allocations: 421.3 kB / 0.8352 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009803/0.7741, allocations: 0.7779 MB / 0.8359 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.7771, allocations: 2.306 MB / 0.8382 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7771, allocations: 0 / 0.8382 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7771, allocations: 0 / 0.8382 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.704e-05/0.7772, allocations: 0 / 0.8382 GB, free: 4.938 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003912/0.7811, allocations: 1.788 MB / 0.8399 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7811, allocations: 7.375 kB / 0.8399 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7823, allocations: 231.5 kB / 0.8402 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.7837, allocations: 0.9033 MB / 0.841 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.7838, allocations: 104.9 kB / 0.8411 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.784, allocations: 143.1 kB / 0.8413 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.7866, allocations: 1.425 MB / 0.8427 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.7866, allocations: 3.938 kB / 0.8427 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.7868, allocations: 60.72 kB / 0.8427 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.7868, allocations: 35.28 kB / 0.8428 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.7891, allocations: 1.513 MB / 0.8442 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006037/0.7952, allocations: 3.725 MB / 0.8479 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.797, allocations: 0.9546 MB / 0.8488 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.7977, allocations: 405.4 kB / 0.8492 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.7978, allocations: 41 kB / 0.8492 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.7988, allocations: 0.5826 MB / 0.8498 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 3.217e-06/0.7988, allocations: 0 / 0.8498 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=104): time 0.003741/0.8026, allocations: 1.473 MB / 0.8512 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.8027, allocations: 196.9 kB / 0.8514 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.8038, allocations: 0.7668 MB / 0.8522 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.8039, allocations: 41.7 kB / 0.8522 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.8043, allocations: 0.5543 MB / 0.8528 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.8046, allocations: 342.9 kB / 0.8531 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.805, allocations: 222.8 kB / 0.8533 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8051, allocations: 345.9 kB / 0.8536 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.8058, allocations: 354.4 kB / 0.854 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.8066, allocations: 481.5 kB / 0.8544 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.8081, allocations: 0.8273 MB / 0.8552 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.8081, allocations: 3.844 kB / 0.8552 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002485/0.8106, allocations: 1.118 MB / 0.8563 GB, free: 5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.8107, allocations: 4 kB / 0.8563 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8107, allocations: 7.984 kB / 0.8563 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.8113, allocations: 84.78 kB / 0.8564 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.8123, allocations: 223.7 kB / 0.8566 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.8144, allocations: 1.646 MB / 0.8582 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/0.8153, allocations: 107.1 kB / 0.8584 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.8155, allocations: 55.95 kB / 0.8584 GB, free: 2.734 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 (125): * Single equations (assignments): 124 * 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.0006302/0.8161, allocations: 310.4 kB / 0.8587 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.8164, allocations: 106.7 kB / 0.8588 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.8196, allocations: 1.375 MB / 0.8601 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.8196, allocations: 11.98 kB / 0.8602 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8196, allocations: 7.938 kB / 0.8602 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.8197, allocations: 3.984 kB / 0.8602 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.8241, allocations: 2.56 MB / 0.8627 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8241, allocations: 4 kB / 0.8627 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.825, allocations: 195.7 kB / 0.8629 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.8254, allocations: 64.8 kB / 0.8629 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.8255, allocations: 31.97 kB / 0.863 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.8274, allocations: 1.677 MB / 0.8646 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8274, allocations: 7.906 kB / 0.8646 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.8298, allocations: 1.166 MB / 0.8657 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/0.8304, allocations: 323.3 kB / 0.866 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.8306, allocations: 31.94 kB / 0.8661 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.8314, allocations: 56.5 kB / 0.8661 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.8316, allocations: 80.83 kB / 0.8662 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.8317, allocations: 35.98 kB / 0.8662 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008514/0.8326, allocations: 0.5771 MB / 0.8668 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8326, allocations: 0 / 0.8668 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001135/0.8337, allocations: 410.6 kB / 0.8672 GB, free: 9.461 MB / 0.6387 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 (115): * Single equations (assignments): 112 * 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.001417/0.8351, allocations: 0.5962 MB / 0.8678 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.8373, allocations: 1.038 MB / 0.8688 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.8374, allocations: 0 / 0.8688 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.8385, allocations: 0.6133 MB / 0.8694 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.84, allocations: 319.5 kB / 0.8697 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.8453, allocations: 2.366 MB / 0.872 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.8461, allocations: 1.162 MB / 0.8731 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/0.8466, allocations: 151.3 kB / 0.8733 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8466, allocations: 0 / 0.8733 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of Templates: time 0.03334/0.88, allocations: 23.97 MB / 0.8967 GB, free: 11.41 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o] Error 1