Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 104.6 kB / 16.41 MB, free: 6.512 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.001146/0.001147, allocations: 187 kB / 17.34 MB, free: 5.742 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.393/1.393, 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.9237/0.9237, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 64.81 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1735, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006529/0.18, allocations: 4.15 MB / 0.6803 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6207/0.8007, allocations: 150.5 MB / 0.8273 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009474/0.8017, allocations: 16.91 kB / 0.8273 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.8027, allocations: 168.2 kB / 0.8275 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.8048, allocations: 475.2 kB / 0.8279 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.8071, allocations: 0.7986 MB / 0.8287 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.8087, allocations: 1.207 MB / 0.8299 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.81, allocations: 0.6788 MB / 0.8306 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008492/0.8109, allocations: 464.2 kB / 0.831 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009396/0.8118, allocations: 476.1 kB / 0.8315 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.8121, allocations: 121.1 kB / 0.8316 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.8133, allocations: 479.2 kB / 0.832 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.8138, allocations: 293.3 kB / 0.8323 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007108/0.8145, allocations: 0.5247 MB / 0.8328 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.8169, allocations: 1.646 MB / 0.8344 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8169, allocations: 0 / 0.8344 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8169, allocations: 0 / 0.8344 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.377e-05/0.817, allocations: 0 / 0.8344 GB, free: 7.977 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003233/0.8203, allocations: 1.378 MB / 0.8358 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8203, allocations: 13.5 kB / 0.8358 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.8216, allocations: 204.9 kB / 0.836 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.823, allocations: 0.7453 MB / 0.8367 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.8231, allocations: 73.75 kB / 0.8368 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.8232, allocations: 85.94 kB / 0.8369 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.8251, allocations: 0.9442 MB / 0.8378 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.8251, allocations: 0 / 0.8378 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.8252, allocations: 39.66 kB / 0.8378 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.8253, allocations: 20.12 kB / 0.8378 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.8271, allocations: 1.13 MB / 0.8389 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.8316, allocations: 2.447 MB / 0.8413 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.8338, allocations: 0.8736 MB / 0.8422 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.8344, allocations: 287.5 kB / 0.8425 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/0.8345, allocations: 32.23 kB / 0.8425 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000869/0.8353, allocations: 441.2 kB / 0.8429 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.8354, allocations: 2.094 kB / 0.8429 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003029/0.8384, allocations: 1.094 MB / 0.844 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8385, allocations: 196.1 kB / 0.8442 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.8394, allocations: 0.5977 MB / 0.8448 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/0.8395, allocations: 38.73 kB / 0.8448 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.8399, allocations: 399.6 kB / 0.8452 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.8401, allocations: 240.1 kB / 0.8454 GB, free: 388 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.8404, allocations: 158.5 kB / 0.8456 GB, free: 224 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.8406, allocations: 382.7 kB / 0.8459 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.8412, allocations: 241.9 kB / 0.8462 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.8419, allocations: 339 kB / 0.8465 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.843, allocations: 0.5643 MB / 0.847 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.843, allocations: 4 kB / 0.847 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002119/0.8452, allocations: 0.7903 MB / 0.8478 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8452, allocations: 6.031 kB / 0.8478 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.8452, allocations: 0 / 0.8478 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.8458, allocations: 84.86 kB / 0.8479 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.8465, allocations: 147.8 kB / 0.848 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.849, allocations: 1.631 MB / 0.8496 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.8498, allocations: 87.27 kB / 0.8497 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.8499, allocations: 31.97 kB / 0.8497 GB, free: 11.74 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 (84): * Single equations (assignments): 83 * 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.0006545/0.8506, allocations: 259.9 kB / 0.85 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.8508, allocations: 86.94 kB / 0.8501 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.8534, allocations: 0.9925 MB / 0.851 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.8534, allocations: 8 kB / 0.851 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8534, allocations: 4 kB / 0.851 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8535, allocations: 7.984 kB / 0.8511 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.857, allocations: 1.901 MB / 0.8529 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.857, allocations: 0 / 0.8529 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.8576, allocations: 143.8 kB / 0.853 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.8581, allocations: 76.78 kB / 0.8531 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.8582, allocations: 19.98 kB / 0.8531 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.8601, allocations: 1.662 MB / 0.8548 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8601, allocations: 3.938 kB / 0.8548 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8621, allocations: 0.916 MB / 0.8557 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.8625, allocations: 259.8 kB / 0.8559 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8627, allocations: 17.31 kB / 0.8559 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.8633, allocations: 59.94 kB / 0.856 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.8634, allocations: 56.92 kB / 0.856 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.8635, allocations: 31.98 kB / 0.8561 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000632/0.8641, allocations: 439 kB / 0.8565 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8642, allocations: 0 / 0.8565 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000975/0.8651, allocations: 303.2 kB / 0.8568 GB, free: 4.266 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 (85): * Single equations (assignments): 82 * 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.8667, allocations: 0.5914 MB / 0.8574 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8684, allocations: 0.7732 MB / 0.8581 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8684, allocations: 0 / 0.8581 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.8694, allocations: 0.4885 MB / 0.8586 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8707, allocations: 302.6 kB / 0.8589 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.8748, allocations: 1.747 MB / 0.8606 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.8755, allocations: 1.015 MB / 0.8616 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.8758, allocations: 115.4 kB / 0.8617 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/0.8758, allocations: 0 / 0.8617 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of Templates: time 0.03171/0.9076, allocations: 17.93 MB / 0.8792 GB, free: 13.49 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1