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.001331/0.001331, allocations: 111.1 kB / 16.41 MB, free: 6.492 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.001318/0.001318, allocations: 185.6 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.374/1.374, 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.8794/0.8794, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 72.73 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1712, allocations: 82.02 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005948/0.1771, allocations: 4.148 MB / 0.6803 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5642/0.7413, allocations: 150.9 MB / 0.8277 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.7422, allocations: 16.62 kB / 0.8278 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.743, allocations: 171.3 kB / 0.8279 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.7446, allocations: 472.7 kB / 0.8284 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.7464, allocations: 0.8102 MB / 0.8292 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.7476, allocations: 1.195 MB / 0.8303 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.7484, allocations: 0.502 MB / 0.8308 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.749, allocations: 458.9 kB / 0.8313 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.7495, allocations: 492.7 kB / 0.8317 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.7496, allocations: 111.7 kB / 0.8318 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.7504, allocations: 483.7 kB / 0.8323 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.7507, allocations: 291.7 kB / 0.8326 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.7511, allocations: 0.5278 MB / 0.8331 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.7529, allocations: 1.646 MB / 0.8347 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7529, allocations: 0 / 0.8347 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7529, allocations: 0 / 0.8347 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.7529, allocations: 0 / 0.8347 GB, free: 7.52 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.002161/0.7551, allocations: 1.419 MB / 0.8361 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.7551, allocations: 14.97 kB / 0.8361 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7561, allocations: 206.4 kB / 0.8363 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.7572, allocations: 0.7542 MB / 0.837 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.7572, allocations: 71.78 kB / 0.8371 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.7573, allocations: 84 kB / 0.8372 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.7589, allocations: 0.942 MB / 0.8381 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.7589, allocations: 0 / 0.8381 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.759, allocations: 40.56 kB / 0.8381 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.759, allocations: 22.56 kB / 0.8382 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.7607, allocations: 1.123 MB / 0.8393 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.7645, allocations: 2.446 MB / 0.8416 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.7666, allocations: 0.8509 MB / 0.8425 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.7671, allocations: 261.7 kB / 0.8427 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.417e-05/0.7672, allocations: 29.31 kB / 0.8428 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007628/0.7679, allocations: 450.8 kB / 0.8432 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/0.7679, allocations: 0 / 0.8432 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002785/0.7707, allocations: 1.094 MB / 0.8442 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.7709, allocations: 187.7 kB / 0.8444 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.7716, allocations: 0.6053 MB / 0.845 GB, free: 488 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.7716, allocations: 38.2 kB / 0.8451 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.7719, allocations: 401.1 kB / 0.8454 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.7722, allocations: 261 kB / 0.8457 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.7724, allocations: 154 kB / 0.8458 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.7726, allocations: 379.9 kB / 0.8462 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.7731, allocations: 242.8 kB / 0.8464 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.7737, allocations: 339.6 kB / 0.8468 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.7749, allocations: 0.5682 MB / 0.8473 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7749, allocations: 0 / 0.8473 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001911/0.7768, allocations: 0.7878 MB / 0.8481 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7768, allocations: 13.55 kB / 0.8481 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7768, allocations: 0 / 0.8481 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.7774, allocations: 84.62 kB / 0.8482 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.778, allocations: 147.8 kB / 0.8483 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.7803, allocations: 1.638 MB / 0.8499 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.7809, allocations: 87.47 kB / 0.85 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.781, allocations: 27.98 kB / 0.85 GB, free: 11.4 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.0003754/0.7814, allocations: 275.8 kB / 0.8503 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.7815, allocations: 79.48 kB / 0.8504 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.7838, allocations: 0.9839 MB / 0.8513 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7839, allocations: 8 kB / 0.8513 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.7839, allocations: 0 / 0.8513 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.7839, allocations: 19.84 kB / 0.8513 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.7872, allocations: 1.893 MB / 0.8532 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7872, allocations: 0 / 0.8532 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.7878, allocations: 147.8 kB / 0.8533 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/0.7882, allocations: 68.8 kB / 0.8534 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.7882, allocations: 23.98 kB / 0.8534 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.7902, allocations: 1.666 MB / 0.8551 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7902, allocations: 0 / 0.8551 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.7921, allocations: 0.9282 MB / 0.856 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.7924, allocations: 256.3 kB / 0.8562 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7925, allocations: 16 kB / 0.8562 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.7931, allocations: 59.94 kB / 0.8563 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7932, allocations: 60.91 kB / 0.8563 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.7933, allocations: 27.98 kB / 0.8564 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005413/0.7938, allocations: 439 kB / 0.8568 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7938, allocations: 0 / 0.8568 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008121/0.7946, allocations: 311.1 kB / 0.8571 GB, free: 3.91 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.001824/0.7965, allocations: 0.6037 MB / 0.8577 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.7981, allocations: 0.7416 MB / 0.8584 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7981, allocations: 4 kB / 0.8584 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.799, allocations: 468.2 kB / 0.8588 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.8002, allocations: 307.2 kB / 0.8591 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.8042, allocations: 1.786 MB / 0.8609 GB, free: 184 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.8049, allocations: 1.019 MB / 0.8619 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.8052, allocations: 111.4 kB / 0.862 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.8052, allocations: 0 / 0.862 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.02701/0.8322, allocations: 17.95 MB / 0.8795 GB, free: 13.11 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