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.0008263/0.0008305, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008767/0.0008768, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.238 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.182/1.182, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 83.41 MB / 0.5985 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005363/0.2001, allocations: 3.741 MB / 0.6022 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5399/0.7401, allocations: 146.6 MB / 0.7453 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.7408, allocations: 20.34 kB / 0.7453 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.7414, allocations: 131.4 kB / 0.7454 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.7428, allocations: 396.1 kB / 0.7458 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.7449, allocations: 0.6938 MB / 0.7465 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.7462, allocations: 1.112 MB / 0.7476 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009237/0.7472, allocations: 0.6464 MB / 0.7482 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.7476, allocations: 305.3 kB / 0.7485 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.7481, allocations: 343.6 kB / 0.7488 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.7481, allocations: 20.81 kB / 0.7489 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.7489, allocations: 367.5 kB / 0.7492 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.7491, allocations: 172.3 kB / 0.7494 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.7495, allocations: 436.1 kB / 0.7498 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.7507, allocations: 1.205 MB / 0.751 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7507, allocations: 0 / 0.751 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7507, allocations: 1.969 kB / 0.751 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7507, allocations: 0 / 0.751 GB, free: 14.94 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.001899/0.7527, allocations: 1.158 MB / 0.7521 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.7527, allocations: 12.19 kB / 0.7521 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.7538, allocations: 222.9 kB / 0.7523 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.7547, allocations: 0.7185 MB / 0.753 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.7548, allocations: 67.12 kB / 0.7531 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.755, allocations: 87.34 kB / 0.7532 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.7566, allocations: 0.9522 MB / 0.7541 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.7566, allocations: 0 / 0.7541 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.7567, allocations: 40 kB / 0.7541 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.7567, allocations: 20 kB / 0.7542 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7586, allocations: 1.136 MB / 0.7553 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.7624, allocations: 2.511 MB / 0.7577 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.7646, allocations: 0.8955 MB / 0.7586 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.7651, allocations: 283.7 kB / 0.7589 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.7652, allocations: 32.69 kB / 0.7589 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008023/0.766, allocations: 443.1 kB / 0.7593 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.766, allocations: 4 kB / 0.7593 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002865/0.7689, allocations: 1.112 MB / 0.7604 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.769, allocations: 188.6 kB / 0.7606 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007322/0.7698, allocations: 0.6017 MB / 0.7612 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.7698, allocations: 37.7 kB / 0.7612 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.7701, allocations: 396.2 kB / 0.7616 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.7703, allocations: 248.4 kB / 0.7618 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.7704, allocations: 65.69 kB / 0.7619 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7706, allocations: 386.7 kB / 0.7623 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.7711, allocations: 241.9 kB / 0.7625 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.7718, allocations: 339.1 kB / 0.7628 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7729, allocations: 0.576 MB / 0.7634 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7729, allocations: 0 / 0.7634 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001833/0.7747, allocations: 0.8019 MB / 0.7642 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7748, allocations: 9.094 kB / 0.7642 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7748, allocations: 0 / 0.7642 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.7754, allocations: 84.86 kB / 0.7642 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.776, allocations: 155.8 kB / 0.7644 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.778, allocations: 1.517 MB / 0.7659 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.7786, allocations: 98.89 kB / 0.766 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.7787, allocations: 31.98 kB / 0.766 GB, free: 15.71 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.0003797/0.7791, allocations: 265.7 kB / 0.7663 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7792, allocations: 79 kB / 0.7663 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.7815, allocations: 0.9908 MB / 0.7673 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7815, allocations: 12 kB / 0.7673 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7815, allocations: 3.938 kB / 0.7673 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7815, allocations: 3.984 kB / 0.7673 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.7847, allocations: 1.909 MB / 0.7692 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7847, allocations: 0 / 0.7692 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.7854, allocations: 155.8 kB / 0.7693 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/0.7859, allocations: 88.7 kB / 0.7694 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.786, allocations: 27.92 kB / 0.7694 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.7877, allocations: 1.538 MB / 0.7709 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7877, allocations: 3.984 kB / 0.7709 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7896, allocations: 0.9336 MB / 0.7719 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.7899, allocations: 271.7 kB / 0.7721 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.79, allocations: 19.94 kB / 0.7721 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.7906, allocations: 73.47 kB / 0.7722 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.7907, allocations: 60.86 kB / 0.7723 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.7908, allocations: 39.97 kB / 0.7723 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005054/0.7913, allocations: 431 kB / 0.7727 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7913, allocations: 8 kB / 0.7727 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008845/0.7922, allocations: 295.2 kB / 0.773 GB, free: 8.301 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.001548/0.7938, allocations: 0.5968 MB / 0.7736 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.7954, allocations: 0.7763 MB / 0.7743 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7954, allocations: 4 kB / 0.7743 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.7964, allocations: 0.4887 MB / 0.7748 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7977, allocations: 271.2 kB / 0.7751 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.8021, allocations: 2.247 MB / 0.7773 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.8027, allocations: 1.015 MB / 0.7783 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.8031, allocations: 111.4 kB / 0.7784 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.8031, allocations: 0 / 0.7784 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of Templates: time 0.02801/0.8311, allocations: 17.71 MB / 0.7957 GB, free: 1.293 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