Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008963, allocations: 100.5 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.001353/0.001353, allocations: 174.9 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.698/1.698, allocations: 223.3 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.11/1.11, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 83.42 MB / 0.5981 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00526/0.2289, allocations: 3.548 MB / 0.6015 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5875/0.8165, allocations: 136.7 MB / 0.735 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.8182, allocations: 18.19 kB / 0.735 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.8192, allocations: 126.3 kB / 0.7352 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.8218, allocations: 389.8 kB / 0.7355 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.825, allocations: 0.6082 MB / 0.7361 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.8274, allocations: 1.024 MB / 0.7371 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.8287, allocations: 0.5225 MB / 0.7376 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.8296, allocations: 301.5 kB / 0.7379 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.8303, allocations: 325.2 kB / 0.7382 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.8304, allocations: 23.75 kB / 0.7383 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.8317, allocations: 333.3 kB / 0.7386 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.832, allocations: 166.3 kB / 0.7387 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.8323, allocations: 187.9 kB / 0.7389 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.8346, allocations: 1.207 MB / 0.7401 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.8346, allocations: 4 kB / 0.7401 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.766e-06/0.8346, allocations: 0.9375 kB / 0.7401 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.8346, allocations: 0 / 0.7401 GB, free: 9.008 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003103/0.8377, allocations: 1.17 MB / 0.7412 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.8378, allocations: 9.375 kB / 0.7412 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.8394, allocations: 218.8 kB / 0.7415 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.841, allocations: 0.7003 MB / 0.7421 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.8412, allocations: 67.52 kB / 0.7422 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.8413, allocations: 89.92 kB / 0.7423 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.8439, allocations: 0.9384 MB / 0.7432 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.844, allocations: 3.938 kB / 0.7432 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.8441, allocations: 37.5 kB / 0.7432 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.8442, allocations: 22.06 kB / 0.7433 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.8469, allocations: 1.135 MB / 0.7444 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.8526, allocations: 2.513 MB / 0.7468 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.8555, allocations: 0.8752 MB / 0.7477 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.8562, allocations: 288.7 kB / 0.748 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.8564, allocations: 32.67 kB / 0.748 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.8575, allocations: 434 kB / 0.7484 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.8575, allocations: 0 / 0.7484 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003789/0.8613, allocations: 1.108 MB / 0.7495 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.8614, allocations: 192.6 kB / 0.7497 GB, free: 376 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.8626, allocations: 0.5939 MB / 0.7502 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.8627, allocations: 41.7 kB / 0.7503 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.8632, allocations: 392.2 kB / 0.7507 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.8635, allocations: 252.4 kB / 0.7509 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.8635, allocations: 12 kB / 0.7509 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.8638, allocations: 378.8 kB / 0.7513 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.8645, allocations: 245.9 kB / 0.7515 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.8653, allocations: 335.1 kB / 0.7518 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.8661, allocations: 286.9 kB / 0.7521 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8661, allocations: 0 / 0.7521 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002414/0.8685, allocations: 0.798 MB / 0.7529 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.8685, allocations: 12.03 kB / 0.7529 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8686, allocations: 0 / 0.7529 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.8693, allocations: 92.7 kB / 0.753 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.8702, allocations: 147.8 kB / 0.7531 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.8728, allocations: 1.521 MB / 0.7546 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/0.8737, allocations: 93.48 kB / 0.7547 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.8738, allocations: 27.98 kB / 0.7547 GB, free: 10.99 MB / 0.5762 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 ($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 (84): * Single equations (assignments): 83 * 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.0006985/0.8745, allocations: 270.8 kB / 0.755 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8747, allocations: 79.02 kB / 0.7551 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.8777, allocations: 1.002 MB / 0.756 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.8778, allocations: 8 kB / 0.756 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8778, allocations: 3.984 kB / 0.756 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.8778, allocations: 12.02 kB / 0.7561 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.8822, allocations: 1.898 MB / 0.7579 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8822, allocations: 0 / 0.7579 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.883, allocations: 155.8 kB / 0.7581 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.8836, allocations: 76.78 kB / 0.7581 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.8837, allocations: 23.98 kB / 0.7582 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.886, allocations: 1.54 MB / 0.7597 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.886, allocations: 0.875 kB / 0.7597 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.8885, allocations: 0.9297 MB / 0.7606 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.889, allocations: 267.8 kB / 0.7608 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.8892, allocations: 16 kB / 0.7608 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/0.8899, allocations: 71.94 kB / 0.7609 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.8901, allocations: 60.91 kB / 0.761 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.8902, allocations: 27.98 kB / 0.761 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008075/0.891, allocations: 435 kB / 0.7614 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.891, allocations: 0 / 0.7614 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001387/0.8924, allocations: 303 kB / 0.7617 GB, free: 3.594 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 (85): * Single equations (assignments): 82 * 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.001858/0.8943, allocations: 0.6062 MB / 0.7623 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.8965, allocations: 0.7726 MB / 0.763 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.8965, allocations: 7.984 kB / 0.7631 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.8977, allocations: 0.4885 MB / 0.7635 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8993, allocations: 264.1 kB / 0.7638 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.9048, allocations: 2.175 MB / 0.7659 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/0.9056, allocations: 1.015 MB / 0.7669 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.906, allocations: 115.3 kB / 0.767 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.906, allocations: 0 / 0.767 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.02797/0.934, allocations: 17.74 MB / 0.7843 GB, free: 12.62 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1