Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 87.98 kB / 16.02 MB, free: 80 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.001225/0.001225, allocations: 183.1 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.289 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.083/1.083, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 12 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1879, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004879/0.1929, allocations: 3.701 MB / 0.6021 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5132/0.7061, allocations: 146.6 MB / 0.7452 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000781/0.707, allocations: 14.34 kB / 0.7453 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.7075, allocations: 131.3 kB / 0.7454 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.709, allocations: 408 kB / 0.7458 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.7111, allocations: 0.6772 MB / 0.7464 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.7124, allocations: 1.084 MB / 0.7475 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008216/0.7133, allocations: 0.5691 MB / 0.748 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.7137, allocations: 293.4 kB / 0.7483 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.7141, allocations: 331 kB / 0.7486 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.7142, allocations: 22 kB / 0.7487 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.715, allocations: 360.2 kB / 0.749 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.7153, allocations: 167.5 kB / 0.7492 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.7157, allocations: 413.2 kB / 0.7496 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.7168, allocations: 1.115 MB / 0.7506 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7168, allocations: 1.375 kB / 0.7506 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7168, allocations: 7.875 kB / 0.7507 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.7169, allocations: 0 / 0.7507 GB, free: 15.26 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001916/0.7188, allocations: 1.116 MB / 0.7517 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7188, allocations: 9.688 kB / 0.7518 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.7198, allocations: 192.3 kB / 0.7519 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7208, allocations: 0.6972 MB / 0.7526 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.7209, allocations: 62.44 kB / 0.7527 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.721, allocations: 73.5 kB / 0.7527 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7225, allocations: 0.86 MB / 0.7536 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7225, allocations: 3.938 kB / 0.7536 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.7226, allocations: 32 kB / 0.7536 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.7226, allocations: 20 kB / 0.7536 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.7243, allocations: 1.061 MB / 0.7547 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.7282, allocations: 2.381 MB / 0.757 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.7295, allocations: 0.7097 MB / 0.7577 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.73, allocations: 274.2 kB / 0.758 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.7301, allocations: 33.8 kB / 0.758 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008024/0.7309, allocations: 423.8 kB / 0.7584 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 3.196e-06/0.7309, allocations: 0 / 0.7584 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002968/0.7339, allocations: 1.084 MB / 0.7595 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.734, allocations: 192.6 kB / 0.7596 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.7348, allocations: 0.5899 MB / 0.7602 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.7349, allocations: 37.7 kB / 0.7602 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.7352, allocations: 380.3 kB / 0.7606 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.7354, allocations: 232.7 kB / 0.7608 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.7355, allocations: 61.67 kB / 0.7609 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7357, allocations: 374.8 kB / 0.7612 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.7362, allocations: 241.8 kB / 0.7615 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.7367, allocations: 330.8 kB / 0.7618 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/0.7377, allocations: 0.5511 MB / 0.7623 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7377, allocations: 0 / 0.7623 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001775/0.7395, allocations: 0.7705 MB / 0.7631 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7395, allocations: 8 kB / 0.7631 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7396, allocations: 3.938 kB / 0.7631 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.7402, allocations: 92.7 kB / 0.7632 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.7408, allocations: 147.8 kB / 0.7633 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.7428, allocations: 1.516 MB / 0.7648 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/0.7436, allocations: 87.48 kB / 0.7649 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.7437, allocations: 31.97 kB / 0.7649 GB, free: 0.8281 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 (83): * Single equations (assignments): 82 * 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.0005366/0.7442, allocations: 245.7 kB / 0.7652 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.7444, allocations: 75.06 kB / 0.7652 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.7466, allocations: 0.9794 MB / 0.7662 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.7466, allocations: 8 kB / 0.7662 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.7466, allocations: 0 / 0.7662 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.7467, allocations: 7.984 kB / 0.7662 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.7477, allocations: 0.8162 MB / 0.767 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.7477, allocations: 3.938 kB / 0.767 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.7483, allocations: 135.8 kB / 0.7671 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005498/0.7488, allocations: 84.77 kB / 0.7672 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.7489, allocations: 24.86 kB / 0.7672 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7507, allocations: 1.549 MB / 0.7687 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7507, allocations: 0 / 0.7687 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.7525, allocations: 0.8344 MB / 0.7696 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.7529, allocations: 267.8 kB / 0.7698 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.753, allocations: 20 kB / 0.7698 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7535, allocations: 72.16 kB / 0.7699 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.7537, allocations: 64.86 kB / 0.77 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.7537, allocations: 32.86 kB / 0.77 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005445/0.7543, allocations: 427 kB / 0.7704 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7543, allocations: 0 / 0.7704 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009057/0.7552, allocations: 287.3 kB / 0.7707 GB, free: 10.7 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001488/0.7567, allocations: 0.5957 MB / 0.7713 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.7583, allocations: 0.7508 MB / 0.772 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7583, allocations: 0 / 0.772 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.7591, allocations: 488.5 kB / 0.7725 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7603, allocations: 272.7 kB / 0.7727 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.7644, allocations: 2.113 MB / 0.7748 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.7651, allocations: 0.9957 MB / 0.7758 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.7655, allocations: 107.4 kB / 0.7759 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/0.7655, allocations: 0 / 0.7759 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Templates: time 0.02368/0.7892, allocations: 16.87 MB / 0.7923 GB, free: 4.723 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropicCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1