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.001088/0.001088, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.00114/0.00114, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8213/0.8213, allocations: 143 MB / 434.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.5148 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 82.03 MB / 0.5949 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004387/0.3463, allocations: 4.036 MB / 0.5989 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.4965, allocations: 150.5 MB / 0.7458 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.4972, allocations: 23.81 kB / 0.7458 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.4979, allocations: 162.5 kB / 0.746 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.4997, allocations: 476.5 kB / 0.7464 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.5017, allocations: 0.7804 MB / 0.7472 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.5031, allocations: 1.145 MB / 0.7483 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009415/0.5041, allocations: 0.5903 MB / 0.7489 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.5047, allocations: 418.5 kB / 0.7493 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.5053, allocations: 438.1 kB / 0.7497 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.5056, allocations: 100 kB / 0.7498 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.5065, allocations: 443.6 kB / 0.7502 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.5068, allocations: 263.1 kB / 0.7505 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.2969/0.8037, allocations: 488.3 kB / 0.7509 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.8058, allocations: 1.481 MB / 0.7524 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8059, allocations: 0 / 0.7524 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8059, allocations: 1.203 kB / 0.7524 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.8059, allocations: 0.6875 kB / 0.7524 GB, free: 3.742 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.001895/0.8078, allocations: 1.298 MB / 0.7537 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.8078, allocations: 9.438 kB / 0.7537 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.8087, allocations: 176.3 kB / 0.7538 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.8095, allocations: 0.7008 MB / 0.7545 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.8095, allocations: 59.56 kB / 0.7546 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.8096, allocations: 76.28 kB / 0.7547 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.8109, allocations: 0.8435 MB / 0.7555 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.8109, allocations: 0 / 0.7555 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.811, allocations: 34.64 kB / 0.7555 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.811, allocations: 19.72 kB / 0.7555 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.8125, allocations: 1.044 MB / 0.7565 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.8155, allocations: 2.329 MB / 0.7588 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.8167, allocations: 0.7767 MB / 0.7596 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.8171, allocations: 267.6 kB / 0.7598 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.8172, allocations: 33.33 kB / 0.7599 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007035/0.8179, allocations: 410.9 kB / 0.7603 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.804e-06/0.8179, allocations: 0.625 kB / 0.7603 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002861/0.8208, allocations: 1.055 MB / 0.7613 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.821, allocations: 188.6 kB / 0.7615 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.8217, allocations: 0.5813 MB / 0.762 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.8218, allocations: 40.23 kB / 0.7621 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.8221, allocations: 370.3 kB / 0.7624 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.8222, allocations: 238.3 kB / 0.7627 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.8224, allocations: 148.5 kB / 0.7628 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8226, allocations: 377.8 kB / 0.7632 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.823, allocations: 229.6 kB / 0.7634 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.8236, allocations: 320.7 kB / 0.7637 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.8248, allocations: 0.5356 MB / 0.7642 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8248, allocations: 0 / 0.7642 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00165/0.8264, allocations: 0.7563 MB / 0.7649 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8265, allocations: 6.719 kB / 0.765 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8265, allocations: 1.094 kB / 0.765 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.827, allocations: 83.5 kB / 0.765 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.8276, allocations: 142.5 kB / 0.7652 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.8295, allocations: 1.632 MB / 0.7668 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.8301, allocations: 74.06 kB / 0.7668 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.8301, allocations: 36.17 kB / 0.7669 GB, free: 14.74 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: 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.0003137/0.8305, allocations: 251 kB / 0.7671 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.8306, allocations: 74.36 kB / 0.7672 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.8325, allocations: 0.9534 MB / 0.7681 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8325, allocations: 9.359 kB / 0.7681 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8325, allocations: 4 kB / 0.7681 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8325, allocations: 3.656 kB / 0.7681 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.8353, allocations: 1.789 MB / 0.7699 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.8353, allocations: 0 / 0.7699 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.8358, allocations: 140.9 kB / 0.77 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.8362, allocations: 72 kB / 0.7701 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.8362, allocations: 23.27 kB / 0.7701 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.8379, allocations: 1.655 MB / 0.7717 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8379, allocations: 3.469 kB / 0.7717 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.8395, allocations: 0.8793 MB / 0.7726 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.8398, allocations: 249.1 kB / 0.7728 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.8399, allocations: 16.09 kB / 0.7728 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.8404, allocations: 56.3 kB / 0.7729 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8405, allocations: 62.09 kB / 0.7729 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.8406, allocations: 30.98 kB / 0.773 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004446/0.841, allocations: 423.4 kB / 0.7734 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.61e-07/0.841, allocations: 0 / 0.7734 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008205/0.8419, allocations: 287 kB / 0.7737 GB, free: 12.23 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.001221/0.8431, allocations: 0.6061 MB / 0.7742 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.8449, allocations: 0.9159 MB / 0.7751 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8449, allocations: 1.094 kB / 0.7751 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.8456, allocations: 484.9 kB / 0.7756 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.8467, allocations: 296.4 kB / 0.7759 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.85, allocations: 1.658 MB / 0.7775 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.8505, allocations: 0.9882 MB / 0.7785 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.8507, allocations: 106.9 kB / 0.7786 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.8507, allocations: 0 / 0.7786 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.0191/0.8698, allocations: 16.81 MB / 0.795 GB, free: 7.34 MB / 0.5919 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++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.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