Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008819, 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.0009605/0.0009605, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.348 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.041/1.041, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 83.41 MB / 0.5985 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005285/0.1805, allocations: 3.643 MB / 0.6021 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5448/0.7253, allocations: 146.5 MB / 0.7452 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.7261, allocations: 14.84 kB / 0.7452 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.7267, allocations: 131.4 kB / 0.7453 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.7283, allocations: 401.3 kB / 0.7457 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.7306, allocations: 0.6775 MB / 0.7464 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.7319, allocations: 1.076 MB / 0.7474 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.7327, allocations: 0.5618 MB / 0.748 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.7332, allocations: 294.4 kB / 0.7482 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.7336, allocations: 320.1 kB / 0.7485 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.7336, allocations: 24.81 kB / 0.7486 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.7346, allocations: 356.6 kB / 0.7489 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.7348, allocations: 169.3 kB / 0.7491 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.7352, allocations: 403.6 kB / 0.7494 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.7365, allocations: 1.115 MB / 0.7505 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7365, allocations: 0 / 0.7505 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7365, allocations: 1.344 kB / 0.7505 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.7365, allocations: 0 / 0.7505 GB, free: 15.42 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002094/0.7386, allocations: 1.113 MB / 0.7516 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.7387, allocations: 13.59 kB / 0.7516 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/0.7396, allocations: 187 kB / 0.7518 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.7408, allocations: 0.6966 MB / 0.7525 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.7408, allocations: 57.06 kB / 0.7526 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.7409, allocations: 73.5 kB / 0.7526 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.7425, allocations: 0.843 MB / 0.7534 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.7425, allocations: 0 / 0.7534 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.7426, allocations: 39.98 kB / 0.7535 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.7426, allocations: 20 kB / 0.7535 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.7443, allocations: 1.05 MB / 0.7545 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.7482, allocations: 2.361 MB / 0.7568 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.7495, allocations: 0.785 MB / 0.7576 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.75, allocations: 276 kB / 0.7579 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.7501, allocations: 28.59 kB / 0.7579 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008256/0.7509, allocations: 417.8 kB / 0.7583 GB, free: 8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.934e-06/0.751, allocations: 0 / 0.7583 GB, free: 8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00293/0.7539, allocations: 1.066 MB / 0.7593 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.754, allocations: 192.5 kB / 0.7595 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.7548, allocations: 0.5782 MB / 0.7601 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.7549, allocations: 45.69 kB / 0.7601 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7552, allocations: 364.4 kB / 0.7605 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.7554, allocations: 232.6 kB / 0.7607 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.7555, allocations: 65.67 kB / 0.7608 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7557, allocations: 374.8 kB / 0.7611 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.7562, allocations: 233.9 kB / 0.7613 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.7567, allocations: 326.8 kB / 0.7616 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.7577, allocations: 0.539 MB / 0.7622 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7577, allocations: 0 / 0.7622 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001774/0.7595, allocations: 0.7626 MB / 0.7629 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7596, allocations: 4 kB / 0.7629 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7596, allocations: 0 / 0.7629 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.7602, allocations: 88.86 kB / 0.763 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.7608, allocations: 139.8 kB / 0.7631 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.7629, allocations: 1.529 MB / 0.7646 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.7635, allocations: 91.42 kB / 0.7647 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.7636, allocations: 32.53 kB / 0.7648 GB, free: 1.086 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 (81): * Single equations (assignments): 80 * 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.0004767/0.7641, allocations: 245.7 kB / 0.765 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7642, allocations: 71.16 kB / 0.7651 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.7664, allocations: 0.9674 MB / 0.766 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7664, allocations: 12 kB / 0.766 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7664, allocations: 0.9688 kB / 0.766 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7664, allocations: 7.969 kB / 0.766 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.7694, allocations: 1.8 MB / 0.7678 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7694, allocations: 0 / 0.7678 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.7699, allocations: 135.8 kB / 0.7679 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.7704, allocations: 84.77 kB / 0.768 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.7705, allocations: 27.17 kB / 0.768 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.7723, allocations: 1.547 MB / 0.7695 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7723, allocations: 0 / 0.7695 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.7741, allocations: 0.8946 MB / 0.7704 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.7745, allocations: 267.8 kB / 0.7707 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.7746, allocations: 16 kB / 0.7707 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.7752, allocations: 69.47 kB / 0.7707 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.7753, allocations: 52.92 kB / 0.7708 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.7754, allocations: 31.98 kB / 0.7708 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005907/0.776, allocations: 423 kB / 0.7712 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.776, allocations: 0 / 0.7712 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008702/0.7768, allocations: 275.4 kB / 0.7715 GB, free: 9.953 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 (81): * Single equations (assignments): 78 * 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.001413/0.7783, allocations: 0.5937 MB / 0.7721 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.7798, allocations: 0.751 MB / 0.7728 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7798, allocations: 7.938 kB / 0.7728 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.7807, allocations: 476.3 kB / 0.7733 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.782, allocations: 283.8 kB / 0.7735 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.7862, allocations: 2.086 MB / 0.7756 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.7869, allocations: 0.9916 MB / 0.7765 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.7873, allocations: 107.4 kB / 0.7766 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/0.7873, allocations: 0 / 0.7766 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of Templates: time 0.02535/0.8126, allocations: 16.7 MB / 0.7929 GB, free: 4.18 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o] Error 1