Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008677, 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.0009442/0.0009442, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.496/1.496, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.485/2.485, allocations: 390.4 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8983, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005342/0.9037, allocations: 4.409 MB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.179/1.083, allocations: 137 MB / 1.093 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/1.084, allocations: 27.81 kB / 1.093 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/1.085, allocations: 254.2 kB / 1.093 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/1.086, allocations: 430.1 kB / 1.093 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/1.088, allocations: 0.6484 MB / 1.094 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001584/1.09, allocations: 1.254 MB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/1.091, allocations: 0.5903 MB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/1.092, allocations: 366.2 kB / 1.096 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/1.092, allocations: 409.6 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.026e-05/1.092, allocations: 28 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/1.093, allocations: 331.7 kB / 1.097 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/1.093, allocations: 203 kB / 1.097 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/1.094, allocations: 237 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/1.095, allocations: 1.364 MB / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.095, allocations: 0 / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/1.095, allocations: 0 / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.298e-05/1.095, allocations: 4 kB / 1.098 GB, free: 12.18 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002518/1.098, allocations: 1.427 MB / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.098, allocations: 8.031 kB / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/1.099, allocations: 226 kB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.1, allocations: 0.8516 MB / 1.101 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/1.1, allocations: 82 kB / 1.101 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/1.1, allocations: 92 kB / 1.101 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/1.102, allocations: 1.031 MB / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/1.102, allocations: 0 / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.102, allocations: 44 kB / 1.102 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/1.102, allocations: 27.94 kB / 1.102 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.104, allocations: 1.175 MB / 1.103 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/1.109, allocations: 2.86 MB / 1.106 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/1.11, allocations: 0.7901 MB / 1.107 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/1.111, allocations: 306.6 kB / 1.107 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.161e-05/1.111, allocations: 36.59 kB / 1.107 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008856/1.112, allocations: 495.2 kB / 1.108 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=78): time 2.274e-06/1.112, allocations: 0 / 1.108 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=78): time 0.003142/1.115, allocations: 1.213 MB / 1.109 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.115, allocations: 200.6 kB / 1.109 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.116, allocations: 0.7835 MB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.116, allocations: 37.7 kB / 1.11 GB, free: 196 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/1.117, allocations: 0.5078 MB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.117, allocations: 256.3 kB / 1.111 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/1.117, allocations: 16 kB / 1.111 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.117, allocations: 337.9 kB / 1.111 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/1.118, allocations: 265.9 kB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/1.118, allocations: 367 kB / 1.112 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/1.119, allocations: 302.9 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.119, allocations: 0 / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001809/1.121, allocations: 0.872 MB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.121, allocations: 7.938 kB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.121, allocations: 4 kB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/1.121, allocations: 80.88 kB / 1.113 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/1.122, allocations: 163.8 kB / 1.113 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/1.124, allocations: 1.529 MB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/1.125, allocations: 101.2 kB / 1.115 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/1.125, allocations: 39.97 kB / 1.115 GB, free: 11.2 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 (92): * Single equations (assignments): 91 * 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.0005395/1.125, allocations: 295.3 kB / 1.115 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.126, allocations: 102.8 kB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/1.128, allocations: 1.097 MB / 1.116 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.128, allocations: 8 kB / 1.116 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.128, allocations: 0 / 1.116 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.128, allocations: 7.984 kB / 1.116 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.129, allocations: 1.009 MB / 1.117 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.129, allocations: 4 kB / 1.117 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/1.13, allocations: 139.8 kB / 1.117 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.13, allocations: 84.73 kB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/1.131, allocations: 27.97 kB / 1.117 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/1.133, allocations: 1.548 MB / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.133, allocations: 0 / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.135, allocations: 0.9511 MB / 1.12 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/1.135, allocations: 307.4 kB / 1.12 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.135, allocations: 16 kB / 1.12 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/1.136, allocations: 80.67 kB / 1.12 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.136, allocations: 68.89 kB / 1.12 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/1.136, allocations: 36.12 kB / 1.12 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000888/1.137, allocations: 0.5464 MB / 1.121 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.137, allocations: 0 / 1.121 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009883/1.138, allocations: 331.1 kB / 1.121 GB, free: 4.309 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * 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.001386/1.139, allocations: 0.6114 MB / 1.122 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.141, allocations: 0.8236 MB / 1.122 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.141, allocations: 4 kB / 1.122 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/1.142, allocations: 0.5158 MB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.143, allocations: 404.2 kB / 1.123 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/1.148, allocations: 2.552 MB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/1.149, allocations: 1.098 MB / 1.127 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.149, allocations: 123.4 kB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of SimCode: time 2.325e-06/1.149, allocations: 0 / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of Templates: time 0.03825/1.188, allocations: 22 MB / 1.148 GB, free: 8.312 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o] Error 1