Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 99.59 kB / 15.71 MB, free: 452 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.001465/0.001465, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.186/1.186, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2238, allocations: 83.4 MB / 0.5981 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005219/0.229, allocations: 3.548 MB / 0.6015 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6282/0.8572, allocations: 136.7 MB / 0.735 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.8581, allocations: 15.53 kB / 0.735 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.8587, allocations: 126.3 kB / 0.7351 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.8604, allocations: 387.9 kB / 0.7355 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.8626, allocations: 0.6135 MB / 0.7361 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.8645, allocations: 1.025 MB / 0.7371 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009868/0.8655, allocations: 460.3 kB / 0.7376 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008905/0.8664, allocations: 303 kB / 0.7378 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.867, allocations: 318.3 kB / 0.7381 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.8671, allocations: 23.19 kB / 0.7382 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.8683, allocations: 333 kB / 0.7385 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.8685, allocations: 160 kB / 0.7386 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.8687, allocations: 182.4 kB / 0.7388 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.8705, allocations: 1.133 MB / 0.7399 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.8706, allocations: 0 / 0.7399 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8706, allocations: 4 kB / 0.7399 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.8706, allocations: 0 / 0.7399 GB, free: 8.98 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002542/0.8731, allocations: 1.133 MB / 0.741 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.8732, allocations: 10.06 kB / 0.741 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8743, allocations: 194.9 kB / 0.7412 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.8756, allocations: 0.6785 MB / 0.7419 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.8757, allocations: 60.27 kB / 0.7419 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.8758, allocations: 75.47 kB / 0.742 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.8777, allocations: 0.8706 MB / 0.7429 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.8777, allocations: 7.938 kB / 0.7429 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.8778, allocations: 33 kB / 0.7429 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.8778, allocations: 19.12 kB / 0.7429 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.8799, allocations: 1.067 MB / 0.744 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004535/0.8845, allocations: 2.415 MB / 0.7463 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.8859, allocations: 0.7939 MB / 0.7471 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.8866, allocations: 280.5 kB / 0.7474 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.8867, allocations: 40.67 kB / 0.7474 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/0.8877, allocations: 423.2 kB / 0.7478 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.435e-06/0.8877, allocations: 0.8438 kB / 0.7478 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003275/0.891, allocations: 1.101 MB / 0.7489 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.8911, allocations: 188.6 kB / 0.7491 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.8921, allocations: 0.5822 MB / 0.7496 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.143e-05/0.8922, allocations: 37.7 kB / 0.7497 GB, free: 396 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.8925, allocations: 380.3 kB / 0.75 GB, free: 8 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.8927, allocations: 236.6 kB / 0.7503 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.8928, allocations: 16 kB / 0.7503 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.893, allocations: 382.8 kB / 0.7506 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.8935, allocations: 238.6 kB / 0.7509 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.8941, allocations: 336 kB / 0.7512 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.8947, allocations: 278.9 kB / 0.7515 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8947, allocations: 0 / 0.7515 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001727/0.8964, allocations: 0.7864 MB / 0.7522 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.8965, allocations: 7.781 kB / 0.7522 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8965, allocations: 7.938 kB / 0.7522 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.897, allocations: 88.88 kB / 0.7523 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.8977, allocations: 157.9 kB / 0.7525 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.8999, allocations: 1.514 MB / 0.7539 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.9006, allocations: 83.39 kB / 0.754 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.9007, allocations: 34.17 kB / 0.7541 GB, free: 11.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.9012, allocations: 253.7 kB / 0.7543 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.9014, allocations: 75.11 kB / 0.7544 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.9038, allocations: 1.018 MB / 0.7554 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9038, allocations: 8 kB / 0.7554 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9038, allocations: 7.875 kB / 0.7554 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.9038, allocations: 3.984 kB / 0.7554 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.9071, allocations: 1.876 MB / 0.7572 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9071, allocations: 3.984 kB / 0.7572 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.9077, allocations: 151.8 kB / 0.7574 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.9082, allocations: 80.78 kB / 0.7574 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.9083, allocations: 24.86 kB / 0.7575 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.9103, allocations: 1.546 MB / 0.759 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9103, allocations: 0 / 0.759 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.9121, allocations: 0.9181 MB / 0.7599 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.9126, allocations: 271.7 kB / 0.7601 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.9127, allocations: 16 kB / 0.7602 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.9132, allocations: 74.47 kB / 0.7602 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.9133, allocations: 60.91 kB / 0.7603 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.9134, allocations: 27.98 kB / 0.7603 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006711/0.9141, allocations: 431 kB / 0.7607 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9141, allocations: 0 / 0.7607 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009791/0.9151, allocations: 283.4 kB / 0.761 GB, free: 4.367 MB / 0.5762 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.9165, allocations: 0.5923 MB / 0.7616 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.9181, allocations: 0.7762 MB / 0.7623 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9181, allocations: 0 / 0.7623 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008764/0.919, allocations: 496.5 kB / 0.7628 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.9203, allocations: 273.5 kB / 0.7631 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.9242, allocations: 2.09 MB / 0.7651 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.9249, allocations: 0.9996 MB / 0.7661 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.9252, allocations: 111.4 kB / 0.7662 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.9252, allocations: 0 / 0.7662 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.02591/0.9511, allocations: 17.1 MB / 0.7829 GB, free: 14.14 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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.AltitudeAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1