Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.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.001163/0.001163, allocations: 102.6 kB / 15.71 MB, free: 460 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.001761/0.001761, allocations: 175.1 kB / 16.58 MB, free: 6.359 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.564/1.564, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.615/2.615, allocations: 390.5 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 11.98 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8355, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004255/0.8398, allocations: 3.765 MB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1729/1.013, allocations: 136.8 MB / 1.092 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/1.014, allocations: 15.88 kB / 1.092 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/1.014, allocations: 130.9 kB / 1.092 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/1.016, allocations: 413.2 kB / 1.092 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/1.018, allocations: 0.637 MB / 1.093 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00132/1.019, allocations: 1.133 MB / 1.094 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/1.02, allocations: 0.5384 MB / 1.094 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007149/1.02, allocations: 338.5 kB / 1.095 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/1.021, allocations: 374 kB / 1.095 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/1.021, allocations: 28 kB / 1.095 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/1.022, allocations: 343.6 kB / 1.095 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/1.022, allocations: 179.2 kB / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/1.022, allocations: 201.1 kB / 1.096 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/1.024, allocations: 1.227 MB / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/1.024, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.024, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.024, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 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.002376/1.027, allocations: 1.266 MB / 1.098 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.027, allocations: 8.031 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.028, allocations: 222.4 kB / 1.099 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.029, allocations: 0.7264 MB / 1.099 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/1.029, allocations: 73.98 kB / 1.099 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.029, allocations: 92 kB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.031, allocations: 1.007 MB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.031, allocations: 0 / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/1.031, allocations: 43.95 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/1.031, allocations: 27.98 kB / 1.1 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/1.034, allocations: 1.175 MB / 1.102 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/1.038, allocations: 2.644 MB / 1.104 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.041, allocations: 0.9654 MB / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/1.041, allocations: 322.6 kB / 1.105 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/1.041, allocations: 32.59 kB / 1.105 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/1.042, allocations: 0.4991 MB / 1.106 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.295e-06/1.042, allocations: 0 / 1.106 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003074/1.045, allocations: 1.227 MB / 1.107 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.046, allocations: 192.6 kB / 1.107 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/1.047, allocations: 0.6332 MB / 1.108 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/1.047, allocations: 49.7 kB / 1.108 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/1.047, allocations: 420.3 kB / 1.108 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.047, allocations: 276 kB / 1.109 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/1.047, allocations: 19.94 kB / 1.109 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.047, allocations: 386.8 kB / 1.109 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/1.048, allocations: 277.8 kB / 1.109 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/1.049, allocations: 375.1 kB / 1.11 GB, free: 368 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/1.05, allocations: 314.8 kB / 1.11 GB, free: 56 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.05, allocations: 0 / 1.11 GB, free: 56 kB / 0.8575 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002049/1.052, allocations: 0.8761 MB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.052, allocations: 8.094 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.052, allocations: 3.984 kB / 1.111 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/1.052, allocations: 96.66 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/1.053, allocations: 163.8 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/1.055, allocations: 1.512 MB / 1.113 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/1.056, allocations: 103.3 kB / 1.113 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/1.056, allocations: 39.97 kB / 1.113 GB, free: 13.1 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.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 (96): * Single equations (assignments): 95 * 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.0004537/1.056, allocations: 277.6 kB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.056, allocations: 83.16 kB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/1.059, allocations: 1.108 MB / 1.114 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.059, allocations: 16 kB / 1.114 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.059, allocations: 0 / 1.114 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.059, allocations: 7.969 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.062, allocations: 2.009 MB / 1.116 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.062, allocations: 0 / 1.116 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.063, allocations: 155.8 kB / 1.116 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/1.063, allocations: 84.77 kB / 1.116 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/1.063, allocations: 31.94 kB / 1.116 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/1.065, allocations: 1.536 MB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.065, allocations: 4.031 kB / 1.118 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/1.068, allocations: 1.019 MB / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/1.068, allocations: 295.5 kB / 1.119 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.068, allocations: 16 kB / 1.119 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/1.069, allocations: 94.73 kB / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.069, allocations: 68.89 kB / 1.119 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/1.069, allocations: 43.92 kB / 1.119 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006175/1.07, allocations: 459 kB / 1.12 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.07, allocations: 0 / 1.12 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009827/1.071, allocations: 323.2 kB / 1.12 GB, free: 5.258 MB / 0.8731 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 (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.001342/1.072, allocations: 0.5883 MB / 1.121 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.074, allocations: 0.8468 MB / 1.121 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.074, allocations: 192 / 1.121 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000946/1.075, allocations: 0.5314 MB / 1.122 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.076, allocations: 268.6 kB / 1.122 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/1.08, allocations: 2.333 MB / 1.125 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/1.081, allocations: 1.044 MB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.082, allocations: 119.4 kB / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of SimCode: time 7.42e-07/1.082, allocations: 0 / 1.126 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of Templates: time 0.02877/1.11, allocations: 19.01 MB / 1.144 GB, free: 12.66 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f Buildings_9_Buildings.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1