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.001307/0.001307, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001361/0.001361, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.83/0.83, allocations: 143 MB / 434.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.89 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3441, allocations: 82.03 MB / 0.5949 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004615/0.3487, allocations: 4.199 MB / 0.599 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4982, allocations: 150.6 MB / 0.7461 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.499, allocations: 19.88 kB / 0.7461 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.4997, allocations: 170.4 kB / 0.7463 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.5016, allocations: 480.1 kB / 0.7467 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.5037, allocations: 0.839 MB / 0.7475 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.5052, allocations: 1.223 MB / 0.7487 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.5063, allocations: 0.6298 MB / 0.7494 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.507, allocations: 450.4 kB / 0.7498 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.5077, allocations: 469.9 kB / 0.7502 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.5079, allocations: 104 kB / 0.7503 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.509, allocations: 475.6 kB / 0.7508 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.2965/0.8055, allocations: 274.2 kB / 0.751 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.8062, allocations: 0.505 MB / 0.7515 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.8084, allocations: 1.572 MB / 0.7531 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8084, allocations: 1.281 kB / 0.7531 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8084, allocations: 0 / 0.7531 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.8084, allocations: 0 / 0.7531 GB, free: 3.645 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002053/0.8105, allocations: 1.363 MB / 0.7544 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8105, allocations: 10.47 kB / 0.7544 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.8114, allocations: 178.4 kB / 0.7546 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.8122, allocations: 0.713 MB / 0.7553 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.8123, allocations: 64.19 kB / 0.7553 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.8124, allocations: 80.2 kB / 0.7554 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.8137, allocations: 0.9018 MB / 0.7563 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.8138, allocations: 6.5 kB / 0.7563 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.8138, allocations: 34.89 kB / 0.7563 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.8138, allocations: 21.75 kB / 0.7564 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.8155, allocations: 1.094 MB / 0.7574 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.8189, allocations: 2.528 MB / 0.7599 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.8207, allocations: 0.8659 MB / 0.7607 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.8212, allocations: 298.6 kB / 0.761 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.8213, allocations: 34.12 kB / 0.7611 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/0.8221, allocations: 446.9 kB / 0.7615 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.314e-06/0.8221, allocations: 0.8125 kB / 0.7615 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003168/0.8252, allocations: 1.117 MB / 0.7626 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.8253, allocations: 192.5 kB / 0.7628 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/0.8262, allocations: 0.6004 MB / 0.7633 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.8262, allocations: 43.47 kB / 0.7634 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.8265, allocations: 375.6 kB / 0.7637 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.8267, allocations: 254 kB / 0.764 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.8269, allocations: 156.8 kB / 0.7641 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8271, allocations: 383.6 kB / 0.7645 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.8276, allocations: 249.3 kB / 0.7647 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.8281, allocations: 344 kB / 0.7651 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.829, allocations: 0.5926 MB / 0.7656 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.829, allocations: 0.8438 kB / 0.7657 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001644/0.8307, allocations: 0.804 MB / 0.7664 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8307, allocations: 6.125 kB / 0.7664 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8307, allocations: 2.531 kB / 0.7664 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.8313, allocations: 87.42 kB / 0.7665 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.8318, allocations: 156 kB / 0.7667 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.8338, allocations: 1.627 MB / 0.7683 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.8345, allocations: 92.36 kB / 0.7684 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.8345, allocations: 40.2 kB / 0.7684 GB, free: 14.55 MB / 0.5919 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.0003496/0.8349, allocations: 256.1 kB / 0.7686 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.8351, allocations: 82.5 kB / 0.7687 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8374, allocations: 1.048 MB / 0.7697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.8374, allocations: 11.09 kB / 0.7697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.8374, allocations: 0 / 0.7697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.8374, allocations: 9.688 kB / 0.7698 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.8401, allocations: 1.935 MB / 0.7716 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8401, allocations: 2.953 kB / 0.7716 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.8406, allocations: 156.8 kB / 0.7718 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.841, allocations: 75.94 kB / 0.7719 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.8411, allocations: 20.66 kB / 0.7719 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.8428, allocations: 1.658 MB / 0.7735 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8428, allocations: 3.938 kB / 0.7735 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.8444, allocations: 0.9571 MB / 0.7744 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.8447, allocations: 268.9 kB / 0.7747 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.8449, allocations: 18.03 kB / 0.7747 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.8454, allocations: 62.98 kB / 0.7748 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.8455, allocations: 63.19 kB / 0.7748 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.8456, allocations: 33.38 kB / 0.7749 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004527/0.8461, allocations: 436.6 kB / 0.7753 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8461, allocations: 3.469 kB / 0.7753 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008798/0.847, allocations: 308 kB / 0.7756 GB, free: 12.02 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 (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.001358/0.8483, allocations: 0.6074 MB / 0.7762 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.8504, allocations: 1.004 MB / 0.7772 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8504, allocations: 2.078 kB / 0.7772 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.8512, allocations: 0.5108 MB / 0.7777 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.8523, allocations: 307.4 kB / 0.778 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.8556, allocations: 1.759 MB / 0.7797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.8561, allocations: 1.017 MB / 0.7807 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.8563, allocations: 110.9 kB / 0.7808 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.8563, allocations: 1.094 kB / 0.7808 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.01881/0.8751, allocations: 17.75 MB / 0.7981 GB, free: 6.23 MB / 0.5919 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