Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01095/0.01095, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002829/0.002829, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.55/1.55, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002829/0.002829, allocations: 282.5 kB / 290.9 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 88.12 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2669, allocations: 86.99 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007379/0.2744, allocations: 4.38 MB / 0.6844 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7946/1.069, allocations: 148.3 MB / 0.8291 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/1.07, allocations: 14.66 kB / 0.8292 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.072, allocations: 142.1 kB / 0.8293 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/1.074, allocations: 433.4 kB / 0.8297 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/1.076, allocations: 0.7282 MB / 0.8304 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001716/1.078, allocations: 1.234 MB / 0.8316 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.079, allocations: 0.6796 MB / 0.8323 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/1.08, allocations: 431 kB / 0.8327 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/1.081, allocations: 0.4951 MB / 0.8332 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001677/1.081, allocations: 64.97 kB / 0.8332 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/1.082, allocations: 407.8 kB / 0.8336 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/1.082, allocations: 254.5 kB / 0.8339 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/1.083, allocations: 0.5189 MB / 0.8344 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/1.085, allocations: 1.252 MB / 0.8356 GB, free: 36 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.085, allocations: 0 / 0.8356 GB, free: 36 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/1.085, allocations: 1.156 kB / 0.8356 GB, free: 36 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.507e-05/1.085, allocations: 0 / 0.8356 GB, free: 36 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003215/1.088, allocations: 1.474 MB / 0.837 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.088, allocations: 12.22 kB / 0.8371 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.089, allocations: 221.2 kB / 0.8373 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/1.09, allocations: 0.7587 MB / 0.838 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/1.091, allocations: 74.91 kB / 0.8381 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.091, allocations: 89.16 kB / 0.8382 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/1.093, allocations: 1.005 MB / 0.8391 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.093, allocations: 0 / 0.8391 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.093, allocations: 40.78 kB / 0.8392 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/1.093, allocations: 23.12 kB / 0.8392 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/1.095, allocations: 1.176 MB / 0.8404 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/1.1, allocations: 2.628 MB / 0.8429 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/1.103, allocations: 0.9674 MB / 0.8439 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/1.103, allocations: 314.1 kB / 0.8442 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/1.103, allocations: 32.83 kB / 0.8442 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/1.104, allocations: 0.4933 MB / 0.8447 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.374e-06/1.104, allocations: 0 / 0.8447 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003832/1.108, allocations: 1.224 MB / 0.8459 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/1.108, allocations: 189 kB / 0.8461 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.109, allocations: 0.643 MB / 0.8467 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/1.11, allocations: 43.14 kB / 0.8467 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/1.11, allocations: 429.2 kB / 0.8471 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/1.11, allocations: 266.9 kB / 0.8474 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.111, allocations: 163.9 kB / 0.8475 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002596/1.111, allocations: 388.6 kB / 0.8479 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/1.111, allocations: 276.4 kB / 0.8482 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/1.112, allocations: 374.3 kB / 0.8485 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.113, allocations: 0.6143 MB / 0.8491 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.113, allocations: 0 / 0.8491 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002178/1.116, allocations: 0.8753 MB / 0.85 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.116, allocations: 9.25 kB / 0.85 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.116, allocations: 0 / 0.85 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/1.116, allocations: 83.95 kB / 0.8501 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/1.117, allocations: 167.3 kB / 0.8502 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/1.119, allocations: 1.519 MB / 0.8517 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/1.12, allocations: 92.05 kB / 0.8518 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/1.12, allocations: 38.75 kB / 0.8518 GB, free: 6.445 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0007055/1.121, allocations: 283.3 kB / 0.8521 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.121, allocations: 84.38 kB / 0.8522 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.124, allocations: 1.098 MB / 0.8533 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.124, allocations: 10.31 kB / 0.8533 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.124, allocations: 0 / 0.8533 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.124, allocations: 11.86 kB / 0.8533 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.128, allocations: 2.012 MB / 0.8553 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.128, allocations: 0 / 0.8553 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.129, allocations: 151.7 kB / 0.8554 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/1.129, allocations: 78.69 kB / 0.8555 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/1.129, allocations: 34.22 kB / 0.8555 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.131, allocations: 1.529 MB / 0.857 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.131, allocations: 8 kB / 0.857 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/1.134, allocations: 1.018 MB / 0.858 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/1.134, allocations: 282.4 kB / 0.8583 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.134, allocations: 24.66 kB / 0.8583 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/1.135, allocations: 68.61 kB / 0.8584 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.135, allocations: 69.61 kB / 0.8584 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/1.135, allocations: 35.05 kB / 0.8585 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007117/1.136, allocations: 470 kB / 0.8589 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.136, allocations: 0 / 0.8589 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001294/1.137, allocations: 321.5 kB / 0.8592 GB, free: 1.371 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001848/1.139, allocations: 0.6096 MB / 0.8598 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002171/1.141, allocations: 0.8488 MB / 0.8606 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.141, allocations: 2.812 kB / 0.8606 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.143, allocations: 0.5177 MB / 0.8611 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.144, allocations: 274 kB / 0.8614 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/1.149, allocations: 2.33 MB / 0.8637 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/1.15, allocations: 1.044 MB / 0.8647 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/1.15, allocations: 113.9 kB / 0.8648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/1.15, allocations: 4 kB / 0.8648 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.04248/1.193, allocations: 19.1 MB / 0.8835 GB, free: 14.68 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile clang++ -std=c++14 NOTFOUND -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1