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.001463/0.001463, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001598/0.001598, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.442/1.442, 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.8586/0.8586, allocations: 143 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005871/0.1558, allocations: 4.069 MB / 0.6802 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5534/0.7093, allocations: 150.5 MB / 0.8272 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.7102, allocations: 24.53 kB / 0.8272 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.7111, allocations: 162.6 kB / 0.8274 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.7131, allocations: 472.4 kB / 0.8278 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.7154, allocations: 0.8026 MB / 0.8286 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.7171, allocations: 1.175 MB / 0.8297 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.7182, allocations: 0.6107 MB / 0.8303 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.719, allocations: 433.9 kB / 0.8308 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007328/0.7197, allocations: 446.6 kB / 0.8312 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.72, allocations: 102.9 kB / 0.8313 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.7212, allocations: 472.5 kB / 0.8317 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.7215, allocations: 270.1 kB / 0.832 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.7221, allocations: 0.4903 MB / 0.8325 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.7243, allocations: 1.555 MB / 0.834 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7244, allocations: 2.219 kB / 0.834 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7244, allocations: 0 / 0.834 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.146e-05/0.7244, allocations: 3.984 kB / 0.834 GB, free: 8.102 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002641/0.7271, allocations: 1.315 MB / 0.8353 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7271, allocations: 9.75 kB / 0.8353 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.7281, allocations: 173.7 kB / 0.8355 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.7293, allocations: 0.7226 MB / 0.8362 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.7294, allocations: 62.47 kB / 0.8362 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.7295, allocations: 82.03 kB / 0.8363 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.7311, allocations: 0.8552 MB / 0.8371 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.7311, allocations: 0 / 0.8371 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.7312, allocations: 31.81 kB / 0.8372 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.7312, allocations: 23.48 kB / 0.8372 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.7329, allocations: 1.058 MB / 0.8382 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.7367, allocations: 2.352 MB / 0.8405 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.7381, allocations: 0.8002 MB / 0.8413 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.7386, allocations: 271 kB / 0.8416 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.7387, allocations: 28.78 kB / 0.8416 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.7394, allocations: 429.2 kB / 0.842 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.315e-06/0.7394, allocations: 0 / 0.842 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002971/0.7424, allocations: 1.066 MB / 0.843 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.7425, allocations: 190.2 kB / 0.8432 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.7433, allocations: 0.5833 MB / 0.8438 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.7434, allocations: 38.58 kB / 0.8438 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.7438, allocations: 363.5 kB / 0.8442 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.744, allocations: 233.7 kB / 0.8444 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.7442, allocations: 147.4 kB / 0.8445 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.7444, allocations: 384.5 kB / 0.8449 GB, free: 344 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.7449, allocations: 232.1 kB / 0.8451 GB, free: 228 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.7454, allocations: 330.6 kB / 0.8454 GB, free: 32 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7465, allocations: 0.5464 MB / 0.846 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7466, allocations: 0 / 0.846 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001898/0.7485, allocations: 0.7622 MB / 0.8467 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.7485, allocations: 8 kB / 0.8467 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7485, allocations: 3.984 kB / 0.8467 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.7491, allocations: 84.86 kB / 0.8468 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.7498, allocations: 139.8 kB / 0.8469 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7521, allocations: 1.643 MB / 0.8485 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.7529, allocations: 75.58 kB / 0.8486 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.7531, allocations: 34.36 kB / 0.8486 GB, free: 12.73 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 (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.0005919/0.7537, allocations: 262.6 kB / 0.8489 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.7539, allocations: 75.06 kB / 0.849 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.7563, allocations: 0.9578 MB / 0.8499 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.7563, allocations: 12 kB / 0.8499 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7563, allocations: 4 kB / 0.8499 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7563, allocations: 3.984 kB / 0.8499 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.7596, allocations: 1.829 MB / 0.8517 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7597, allocations: 0 / 0.8517 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.7602, allocations: 135.8 kB / 0.8518 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.7607, allocations: 76.66 kB / 0.8519 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.7608, allocations: 23.98 kB / 0.8519 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.7628, allocations: 1.67 MB / 0.8536 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7628, allocations: 0 / 0.8536 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.7648, allocations: 0.8952 MB / 0.8544 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.7652, allocations: 251.9 kB / 0.8547 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.7654, allocations: 23.84 kB / 0.8547 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/0.766, allocations: 51.94 kB / 0.8548 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.7662, allocations: 60.86 kB / 0.8548 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.7662, allocations: 31.97 kB / 0.8548 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006118/0.7668, allocations: 423.1 kB / 0.8552 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7669, allocations: 0 / 0.8552 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008913/0.7678, allocations: 287.3 kB / 0.8555 GB, free: 5.43 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 (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.7692, allocations: 0.6037 MB / 0.8561 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.7709, allocations: 0.7518 MB / 0.8568 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7709, allocations: 0 / 0.8568 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.7718, allocations: 488.2 kB / 0.8573 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7731, allocations: 288.4 kB / 0.8576 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.777, allocations: 1.661 MB / 0.8592 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.7777, allocations: 0.9875 MB / 0.8602 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.778, allocations: 103.4 kB / 0.8603 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of SimCode: time 2.405e-06/0.778, allocations: 0 / 0.8603 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of Templates: time 0.02455/0.8026, allocations: 17.17 MB / 0.877 GB, free: 15.54 MB / 0.6544 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++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.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