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.001109/0.001109, allocations: 103.8 kB / 16.4 MB, free: 6.457 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.001137/0.001137, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.332/1.332, 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.8743/0.8743, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.25 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006563/0.1758, allocations: 4.15 MB / 0.6803 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5384/0.7142, allocations: 150.5 MB / 0.8273 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.715, allocations: 22.31 kB / 0.8273 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.7155, allocations: 164.4 kB / 0.8275 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.7169, allocations: 482 kB / 0.828 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.7186, allocations: 0.8055 MB / 0.8287 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.7196, allocations: 1.195 MB / 0.8299 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.7205, allocations: 0.6859 MB / 0.8306 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.721, allocations: 463.7 kB / 0.831 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.7214, allocations: 479.8 kB / 0.8315 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.7216, allocations: 112.3 kB / 0.8316 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006942/0.7223, allocations: 485.8 kB / 0.832 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.7225, allocations: 289.3 kB / 0.8323 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.723, allocations: 0.5324 MB / 0.8328 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.7245, allocations: 1.637 MB / 0.8344 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7245, allocations: 0 / 0.8344 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7245, allocations: 0 / 0.8344 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.7246, allocations: 0 / 0.8344 GB, free: 7.719 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.002093/0.7267, allocations: 1.378 MB / 0.8358 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.7267, allocations: 10.09 kB / 0.8358 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.7278, allocations: 209.1 kB / 0.836 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.7288, allocations: 0.7486 MB / 0.8367 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.7289, allocations: 65.09 kB / 0.8368 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.729, allocations: 85.75 kB / 0.8369 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.7306, allocations: 0.9478 MB / 0.8378 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.7306, allocations: 6.031 kB / 0.8378 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.7307, allocations: 39.97 kB / 0.8378 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.7307, allocations: 22.44 kB / 0.8379 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.7325, allocations: 1.122 MB / 0.839 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.7361, allocations: 2.445 MB / 0.8413 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.7383, allocations: 0.8792 MB / 0.8422 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.7388, allocations: 286.4 kB / 0.8425 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.7389, allocations: 35.8 kB / 0.8425 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/0.7397, allocations: 432.7 kB / 0.8429 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 4.278e-06/0.7398, allocations: 2.531 kB / 0.8429 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003043/0.7428, allocations: 1.094 MB / 0.844 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.7429, allocations: 192.5 kB / 0.8442 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.7437, allocations: 0.597 MB / 0.8448 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.7438, allocations: 42.11 kB / 0.8448 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.7441, allocations: 395.9 kB / 0.8452 GB, free: 340 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7443, allocations: 243 kB / 0.8454 GB, free: 124 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.7445, allocations: 159.2 kB / 0.8456 GB, free: 20 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.7447, allocations: 386.7 kB / 0.8459 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.7452, allocations: 245.9 kB / 0.8462 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.7458, allocations: 331.1 kB / 0.8465 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7469, allocations: 0.5682 MB / 0.847 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7469, allocations: 0 / 0.847 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001837/0.7488, allocations: 0.7939 MB / 0.8478 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7488, allocations: 9.875 kB / 0.8478 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7488, allocations: 0 / 0.8478 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.7494, allocations: 84.8 kB / 0.8479 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.75, allocations: 152.7 kB / 0.848 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.7521, allocations: 1.623 MB / 0.8496 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.7527, allocations: 84.86 kB / 0.8497 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.7528, allocations: 35.97 kB / 0.8497 GB, free: 11.54 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.0003502/0.7531, allocations: 254.6 kB / 0.85 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.7533, allocations: 83 kB / 0.8501 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.7556, allocations: 1.002 MB / 0.851 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7556, allocations: 8 kB / 0.8511 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7556, allocations: 0 / 0.8511 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7556, allocations: 3.984 kB / 0.8511 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.7588, allocations: 1.901 MB / 0.8529 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7588, allocations: 0 / 0.8529 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.7594, allocations: 143.8 kB / 0.8531 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.7598, allocations: 72.78 kB / 0.8531 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.7599, allocations: 23.98 kB / 0.8531 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.7617, allocations: 1.658 MB / 0.8548 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7618, allocations: 3.938 kB / 0.8548 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.7636, allocations: 0.92 MB / 0.8557 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.7639, allocations: 259.8 kB / 0.8559 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.7641, allocations: 16 kB / 0.8559 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/0.7647, allocations: 63.88 kB / 0.856 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7648, allocations: 56.98 kB / 0.856 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.7649, allocations: 35.98 kB / 0.8561 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005179/0.7654, allocations: 435 kB / 0.8565 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7654, allocations: 0 / 0.8565 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007984/0.7662, allocations: 303.2 kB / 0.8568 GB, free: 4.062 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.001404/0.7676, allocations: 0.6066 MB / 0.8574 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.7693, allocations: 0.773 MB / 0.8581 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7693, allocations: 4.188 kB / 0.8581 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.7702, allocations: 0.4885 MB / 0.8586 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.7714, allocations: 296.4 kB / 0.8589 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.7753, allocations: 1.742 MB / 0.8606 GB, free: 332 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.776, allocations: 1.019 MB / 0.8616 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.7763, allocations: 111.4 kB / 0.8617 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7763, allocations: 3.938 kB / 0.8617 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.02426/0.8006, allocations: 17.92 MB / 0.8792 GB, free: 13.29 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