Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 92.08 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.001357/0.001356, allocations: 179.3 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.277 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.002/1.002, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 8.281 kB / 0.517 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 83.42 MB / 0.5985 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004628/0.1723, allocations: 3.666 MB / 0.6021 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4486/0.6209, allocations: 146.6 MB / 0.7452 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000846/0.6218, allocations: 18 kB / 0.7452 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.6224, allocations: 132.9 kB / 0.7453 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.6241, allocations: 399.2 kB / 0.7457 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.6265, allocations: 0.6861 MB / 0.7464 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.628, allocations: 1.089 MB / 0.7475 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008523/0.6289, allocations: 0.5858 MB / 0.748 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.6295, allocations: 294.6 kB / 0.7483 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.6299, allocations: 324.1 kB / 0.7486 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.63, allocations: 19.78 kB / 0.7486 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.6309, allocations: 367.2 kB / 0.749 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.6311, allocations: 169.1 kB / 0.7492 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.6315, allocations: 411.6 kB / 0.7495 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.6328, allocations: 1.141 MB / 0.7507 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6328, allocations: 1.781 kB / 0.7507 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6328, allocations: 0 / 0.7507 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6328, allocations: 0 / 0.7507 GB, free: 15.17 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.001922/0.6348, allocations: 1.105 MB / 0.7517 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6348, allocations: 9.625 kB / 0.7517 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009684/0.6358, allocations: 191.9 kB / 0.7519 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.6368, allocations: 0.7088 MB / 0.7526 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.6369, allocations: 57.56 kB / 0.7527 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.637, allocations: 77.94 kB / 0.7528 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6385, allocations: 0.8571 MB / 0.7536 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6386, allocations: 0 / 0.7536 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.6386, allocations: 43.88 kB / 0.7536 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.6387, allocations: 20 kB / 0.7537 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.6403, allocations: 1.069 MB / 0.7547 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.6441, allocations: 2.41 MB / 0.757 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.6455, allocations: 0.8072 MB / 0.7578 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.646, allocations: 274.4 kB / 0.7581 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.6461, allocations: 36.59 kB / 0.7581 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007723/0.6468, allocations: 413.8 kB / 0.7585 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.086e-06/0.6469, allocations: 0 / 0.7585 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002978/0.6498, allocations: 1.093 MB / 0.7596 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.65, allocations: 192.5 kB / 0.7598 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/0.6508, allocations: 0.5744 MB / 0.7603 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.6509, allocations: 41.7 kB / 0.7604 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.6512, allocations: 368.2 kB / 0.7607 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.6514, allocations: 232.7 kB / 0.761 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.6515, allocations: 57.69 kB / 0.761 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6517, allocations: 382.8 kB / 0.7614 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.6522, allocations: 233.9 kB / 0.7616 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.6528, allocations: 339.2 kB / 0.7619 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/0.6538, allocations: 0.5468 MB / 0.7625 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6538, allocations: 0 / 0.7625 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001788/0.6556, allocations: 0.7744 MB / 0.7632 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6556, allocations: 4 kB / 0.7632 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6556, allocations: 3.938 kB / 0.7632 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.6563, allocations: 84.88 kB / 0.7633 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.6569, allocations: 148.4 kB / 0.7634 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.6591, allocations: 1.536 MB / 0.7649 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.6598, allocations: 84.02 kB / 0.765 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.6599, allocations: 41.72 kB / 0.7651 GB, free: 0.6562 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.000484/0.6604, allocations: 245.7 kB / 0.7653 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6605, allocations: 75.16 kB / 0.7654 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.6627, allocations: 0.9783 MB / 0.7663 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6627, allocations: 8 kB / 0.7663 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.6627, allocations: 96 / 0.7663 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6628, allocations: 11.92 kB / 0.7663 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.6658, allocations: 1.845 MB / 0.7681 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.6659, allocations: 0 / 0.7681 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.6664, allocations: 135.8 kB / 0.7683 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.6669, allocations: 88.78 kB / 0.7684 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.667, allocations: 15.98 kB / 0.7684 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.6689, allocations: 1.567 MB / 0.7699 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6689, allocations: 0.7812 kB / 0.7699 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.6707, allocations: 0.8985 MB / 0.7708 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.6711, allocations: 267.8 kB / 0.771 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.6713, allocations: 19.98 kB / 0.7711 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.6718, allocations: 64.09 kB / 0.7711 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.672, allocations: 64.89 kB / 0.7712 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.672, allocations: 27.98 kB / 0.7712 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005476/0.6726, allocations: 431.1 kB / 0.7716 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6726, allocations: 0 / 0.7716 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008915/0.6735, allocations: 287.2 kB / 0.7719 GB, free: 9.422 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.001382/0.6749, allocations: 0.5949 MB / 0.7725 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.6764, allocations: 0.7587 MB / 0.7732 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6764, allocations: 0 / 0.7732 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.6773, allocations: 488.5 kB / 0.7737 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.6786, allocations: 262.2 kB / 0.7739 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.6826, allocations: 2.124 MB / 0.776 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.6833, allocations: 0.9877 MB / 0.777 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.6836, allocations: 107.4 kB / 0.7771 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6836, allocations: 4 kB / 0.7771 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.02827/0.7118, allocations: 16.96 MB / 0.7936 GB, free: 3.332 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1