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.001606/0.001606, allocations: 106.9 kB / 15.99 MB, free: 6.348 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.001985/0.001985, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8489/0.8489, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4535, allocations: 82.04 MB / 0.5944 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005214/0.4588, allocations: 4.152 MB / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.627, allocations: 148.3 MB / 0.7433 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.6278, allocations: 11.94 kB / 0.7433 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.6284, allocations: 138.9 kB / 0.7434 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.6299, allocations: 413.3 kB / 0.7438 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.6317, allocations: 0.7238 MB / 0.7445 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.6328, allocations: 1.184 MB / 0.7457 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.6337, allocations: 0.6826 MB / 0.7464 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.6342, allocations: 462.3 kB / 0.7468 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.6347, allocations: 477.8 kB / 0.7473 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.6348, allocations: 116 kB / 0.7474 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.6356, allocations: 459.6 kB / 0.7478 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.6359, allocations: 291 kB / 0.7481 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.6363, allocations: 0.5246 MB / 0.7486 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.6377, allocations: 1.251 MB / 0.7498 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6377, allocations: 0 / 0.7498 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6377, allocations: 4 kB / 0.7498 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.6377, allocations: 0 / 0.7498 GB, free: 0.7539 MB / 0.5762 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.3847/1.022, allocations: 1.381 MB / 0.7512 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/1.022, allocations: 9.906 kB / 0.7512 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/1.024, allocations: 201.9 kB / 0.7514 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.025, allocations: 0.7206 MB / 0.7521 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.025, allocations: 66.22 kB / 0.7521 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/1.025, allocations: 88.66 kB / 0.7522 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.027, allocations: 0.9437 MB / 0.7531 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.027, allocations: 4.125 kB / 0.7532 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/1.027, allocations: 41.56 kB / 0.7532 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/1.027, allocations: 26.06 kB / 0.7532 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.029, allocations: 1.126 MB / 0.7543 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/1.033, allocations: 2.468 MB / 0.7567 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/1.036, allocations: 0.88 MB / 0.7576 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/1.036, allocations: 282.8 kB / 0.7579 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.409e-05/1.036, allocations: 36.11 kB / 0.7579 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009235/1.037, allocations: 442.1 kB / 0.7583 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/1.037, allocations: 3.281 kB / 0.7583 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003194/1.041, allocations: 1.096 MB / 0.7594 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/1.041, allocations: 188.9 kB / 0.7596 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/1.042, allocations: 0.6054 MB / 0.7602 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/1.042, allocations: 41.83 kB / 0.7602 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/1.042, allocations: 395.8 kB / 0.7606 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.042, allocations: 238.4 kB / 0.7608 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/1.042, allocations: 150.8 kB / 0.7609 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.042, allocations: 385.6 kB / 0.7613 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/1.043, allocations: 245.9 kB / 0.7615 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/1.044, allocations: 332 kB / 0.7619 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.045, allocations: 0.5694 MB / 0.7624 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.045, allocations: 0 / 0.7624 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002004/1.047, allocations: 0.7912 MB / 0.7632 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.047, allocations: 5.531 kB / 0.7632 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.047, allocations: 1.156 kB / 0.7632 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/1.048, allocations: 80.91 kB / 0.7633 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/1.048, allocations: 158.3 kB / 0.7634 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/1.05, allocations: 1.644 MB / 0.765 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/1.051, allocations: 76.92 kB / 0.7651 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/1.051, allocations: 36.5 kB / 0.7651 GB, free: 148.3 MB / 0.5762 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.0004013/1.051, allocations: 259.4 kB / 0.7654 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.051, allocations: 76.5 kB / 0.7655 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.053, allocations: 0.9988 MB / 0.7664 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.053, allocations: 8.562 kB / 0.7664 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.053, allocations: 4.75 kB / 0.7664 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/1.053, allocations: 7.984 kB / 0.7665 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/1.056, allocations: 1.893 MB / 0.7683 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/1.056, allocations: 6.547 kB / 0.7683 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/1.057, allocations: 147.7 kB / 0.7685 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/1.057, allocations: 76.27 kB / 0.7685 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/1.057, allocations: 23.98 kB / 0.7685 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/1.059, allocations: 1.652 MB / 0.7702 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.059, allocations: 0 / 0.7702 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/1.06, allocations: 0.9293 MB / 0.7711 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/1.06, allocations: 251.8 kB / 0.7713 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.061, allocations: 19.98 kB / 0.7713 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/1.061, allocations: 53.86 kB / 0.7714 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.061, allocations: 64.84 kB / 0.7714 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/1.061, allocations: 34.77 kB / 0.7715 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004451/1.062, allocations: 439 kB / 0.7719 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 0 / 0.7719 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008453/1.063, allocations: 299.9 kB / 0.7722 GB, free: 140.9 MB / 0.5762 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.001375/1.064, allocations: 0.5979 MB / 0.7728 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.066, allocations: 0.9609 MB / 0.7737 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.066, allocations: 0 / 0.7737 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/1.067, allocations: 0.491 MB / 0.7742 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.068, allocations: 303.7 kB / 0.7745 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/1.071, allocations: 2.186 MB / 0.7766 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.072, allocations: 1.015 MB / 0.7776 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/1.072, allocations: 111.4 kB / 0.7777 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/1.072, allocations: 0 / 0.7777 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01873/1.091, allocations: 17.82 MB / 0.7951 GB, free: 117.7 MB / 0.5762 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++14 -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