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.001085/0.001085, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 200 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.516 MB / 190.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 1.009/1.009, allocations: 143 MB / 433.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.5142 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1631, allocations: 82.04 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006002/0.1691, allocations: 4.141 MB / 0.5983 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4895/0.6587, allocations: 148.2 MB / 0.743 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.6598, allocations: 20.41 kB / 0.743 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.6607, allocations: 135.2 kB / 0.7432 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.6629, allocations: 394.7 kB / 0.7435 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.6656, allocations: 0.6972 MB / 0.7442 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.6675, allocations: 1.109 MB / 0.7453 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.6686, allocations: 0.6655 MB / 0.746 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.6693, allocations: 404.2 kB / 0.7463 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.6699, allocations: 452.5 kB / 0.7468 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.67, allocations: 61.97 kB / 0.7468 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.671, allocations: 408.3 kB / 0.7472 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.6713, allocations: 236.8 kB / 0.7474 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.6718, allocations: 486.3 kB / 0.7479 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.6732, allocations: 1.223 MB / 0.7491 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6732, allocations: 0 / 0.7491 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6732, allocations: 1.594 kB / 0.7491 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.6733, allocations: 0 / 0.7491 GB, free: 14.75 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.002563/0.6758, allocations: 1.387 MB / 0.7505 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6759, allocations: 8.031 kB / 0.7505 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.677, allocations: 207.4 kB / 0.7507 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6781, allocations: 0.7231 MB / 0.7514 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.6781, allocations: 69.98 kB / 0.7514 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6783, allocations: 88 kB / 0.7515 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.68, allocations: 0.946 MB / 0.7524 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.68, allocations: 4.562 kB / 0.7525 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.6801, allocations: 36 kB / 0.7525 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.6801, allocations: 20 kB / 0.7525 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.6819, allocations: 1.124 MB / 0.7536 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.686, allocations: 2.48 MB / 0.756 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.6883, allocations: 0.8791 MB / 0.7569 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.6888, allocations: 287.5 kB / 0.7572 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.6889, allocations: 32.69 kB / 0.7572 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/0.6898, allocations: 439.1 kB / 0.7576 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.6898, allocations: 4 kB / 0.7576 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.00301/0.6928, allocations: 1.089 MB / 0.7587 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.6929, allocations: 188.6 kB / 0.7589 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.6938, allocations: 0.6055 MB / 0.7594 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.6938, allocations: 41.7 kB / 0.7595 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.6942, allocations: 396.2 kB / 0.7599 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.6944, allocations: 244.5 kB / 0.7601 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.6947, allocations: 146.5 kB / 0.7602 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6948, allocations: 390.7 kB / 0.7606 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.6953, allocations: 241.9 kB / 0.7608 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.6959, allocations: 332.8 kB / 0.7612 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.697, allocations: 0.5682 MB / 0.7617 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.697, allocations: 0 / 0.7617 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001938/0.699, allocations: 0.7941 MB / 0.7625 GB, free: 1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.699, allocations: 4 kB / 0.7625 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.699, allocations: 7.125 kB / 0.7625 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.6996, allocations: 80.86 kB / 0.7626 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.7003, allocations: 151.8 kB / 0.7627 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7027, allocations: 1.512 MB / 0.7642 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.7034, allocations: 87.27 kB / 0.7643 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.7035, allocations: 35.97 kB / 0.7643 GB, free: 14.99 MB / 0.5919 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.0005091/0.704, allocations: 253.7 kB / 0.7646 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7042, allocations: 82.88 kB / 0.7646 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.7065, allocations: 0.9987 MB / 0.7656 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.7065, allocations: 8 kB / 0.7656 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.7066, allocations: 0 / 0.7656 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.7066, allocations: 3.984 kB / 0.7656 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.7099, allocations: 1.905 MB / 0.7675 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7099, allocations: 2.562 kB / 0.7675 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.7105, allocations: 147.8 kB / 0.7676 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.711, allocations: 92.64 kB / 0.7677 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.7111, allocations: 23.98 kB / 0.7677 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.7129, allocations: 1.532 MB / 0.7692 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7129, allocations: 8.094 kB / 0.7692 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.7149, allocations: 0.9179 MB / 0.7701 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.7153, allocations: 259.8 kB / 0.7704 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.7154, allocations: 16 kB / 0.7704 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.716, allocations: 61.44 kB / 0.7705 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.7161, allocations: 60.86 kB / 0.7705 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.7162, allocations: 31.97 kB / 0.7705 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006013/0.7168, allocations: 439 kB / 0.771 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7168, allocations: 0 / 0.771 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001024/0.7179, allocations: 295.2 kB / 0.7712 GB, free: 7.652 MB / 0.5919 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.001493/0.7194, allocations: 0.6017 MB / 0.7718 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.721, allocations: 0.7766 MB / 0.7726 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.721, allocations: 192 / 0.7726 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.7219, allocations: 496.2 kB / 0.7731 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.7231, allocations: 274.7 kB / 0.7733 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.7272, allocations: 2.185 MB / 0.7755 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.7278, allocations: 1.015 MB / 0.7765 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.7281, allocations: 111.4 kB / 0.7766 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7282, allocations: 4 kB / 0.7766 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of Templates: time 0.0254/0.7536, allocations: 17.81 MB / 0.794 GB, free: 0.6133 MB / 0.6075 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