Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001131/0.001131, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 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.8562/0.8562, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 61.05 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1662, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005929/0.1722, allocations: 4.208 MB / 0.6804 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5164/0.6886, allocations: 150.6 MB / 0.8274 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.6895, allocations: 20.91 kB / 0.8275 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.69, allocations: 175.6 kB / 0.8276 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.6915, allocations: 488.1 kB / 0.8281 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.6935, allocations: 0.8301 MB / 0.8289 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.6947, allocations: 1.238 MB / 0.8301 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6958, allocations: 0.6268 MB / 0.8307 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.6966, allocations: 460.9 kB / 0.8312 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.6972, allocations: 474.2 kB / 0.8316 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.6973, allocations: 105.5 kB / 0.8317 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.6986, allocations: 492.9 kB / 0.8322 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.6989, allocations: 277.2 kB / 0.8325 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.6994, allocations: 0.5129 MB / 0.833 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.7014, allocations: 1.605 MB / 0.8345 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7014, allocations: 1.781 kB / 0.8345 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7014, allocations: 0 / 0.8345 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.7014, allocations: 4 kB / 0.8345 GB, free: 7.73 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002323/0.7038, allocations: 1.368 MB / 0.8359 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7038, allocations: 9.688 kB / 0.8359 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.7048, allocations: 176.6 kB / 0.836 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.7059, allocations: 0.737 MB / 0.8368 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.706, allocations: 68.7 kB / 0.8368 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7061, allocations: 80.94 kB / 0.8369 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.7076, allocations: 0.8957 MB / 0.8378 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.7076, allocations: 2.75 kB / 0.8378 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.7077, allocations: 30.69 kB / 0.8378 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.7077, allocations: 20.75 kB / 0.8378 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.7098, allocations: 1.096 MB / 0.8389 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.7144, allocations: 2.514 MB / 0.8414 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.7165, allocations: 0.8636 MB / 0.8422 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.717, allocations: 293.2 kB / 0.8425 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.7171, allocations: 27.28 kB / 0.8425 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.718, allocations: 452.1 kB / 0.8429 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.866e-06/0.718, allocations: 0 / 0.8429 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.003118/0.7211, allocations: 1.127 MB / 0.844 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.7212, allocations: 194.8 kB / 0.8442 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.722, allocations: 0.6007 MB / 0.8448 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.7221, allocations: 40.48 kB / 0.8449 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.7224, allocations: 373.1 kB / 0.8452 GB, free: 348 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.7226, allocations: 256.5 kB / 0.8455 GB, free: 120 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.7229, allocations: 156.4 kB / 0.8456 GB, free: 24 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.7231, allocations: 383.8 kB / 0.846 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.7236, allocations: 252.6 kB / 0.8462 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.7242, allocations: 339.1 kB / 0.8465 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7253, allocations: 0.5838 MB / 0.8471 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7253, allocations: 3.938 kB / 0.8471 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001967/0.7273, allocations: 0.8098 MB / 0.8479 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7273, allocations: 4 kB / 0.8479 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.7274, allocations: 0 / 0.8479 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.728, allocations: 84.83 kB / 0.848 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.7287, allocations: 155.5 kB / 0.8481 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.7309, allocations: 1.639 MB / 0.8497 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.7317, allocations: 83.33 kB / 0.8498 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.7318, allocations: 39.97 kB / 0.8498 GB, free: 11.53 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0004884/0.7322, allocations: 269.3 kB / 0.8501 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.7324, allocations: 78.97 kB / 0.8502 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.7348, allocations: 1.048 MB / 0.8512 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.7348, allocations: 12 kB / 0.8512 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.7348, allocations: 0 / 0.8512 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7349, allocations: 15.91 kB / 0.8512 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.7382, allocations: 1.924 MB / 0.8531 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7382, allocations: 0 / 0.8531 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.7388, allocations: 159.8 kB / 0.8533 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.7393, allocations: 76.78 kB / 0.8533 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.7394, allocations: 23.98 kB / 0.8534 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.7414, allocations: 1.658 MB / 0.855 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7414, allocations: 4.062 kB / 0.855 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.7433, allocations: 0.955 MB / 0.8559 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.7437, allocations: 267.8 kB / 0.8562 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7438, allocations: 16 kB / 0.8562 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.7444, allocations: 59.88 kB / 0.8562 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7445, allocations: 64.91 kB / 0.8563 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.7446, allocations: 35.98 kB / 0.8563 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005279/0.7451, allocations: 435 kB / 0.8568 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-05/0.7452, allocations: 0 / 0.8568 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009047/0.7461, allocations: 315.2 kB / 0.8571 GB, free: 3.875 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 (93): * Single equations (assignments): 90 * 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.001464/0.7475, allocations: 0.5979 MB / 0.8576 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.7492, allocations: 0.7966 MB / 0.8584 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7492, allocations: 0 / 0.8584 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.7502, allocations: 0.5082 MB / 0.8589 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.7514, allocations: 319.5 kB / 0.8592 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.7553, allocations: 1.746 MB / 0.8609 GB, free: 68 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.756, allocations: 1.008 MB / 0.8619 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7563, allocations: 119.4 kB / 0.862 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.7563, allocations: 0 / 0.862 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.02272/0.779, allocations: 17.83 MB / 0.8794 GB, free: 13.12 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o] Error 1