Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01304/0.01304, allocations: 100.8 kB / 15.87 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.002364/0.002364, allocations: 192.1 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 2.673/2.673, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003741/0.003741, allocations: 286.3 kB / 290.9 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.855/1.855, allocations: 169.2 MB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 94.45 kB / 0.5951 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.376, allocations: 86.98 MB / 0.6801 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0128/0.389, allocations: 5.083 MB / 0.685 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 1.197/1.586, allocations: 148.5 MB / 0.8301 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/1.589, allocations: 26.62 kB / 0.8301 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/1.591, allocations: 288.4 kB / 0.8304 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/1.595, allocations: 445.4 kB / 0.8308 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/1.6, allocations: 0.74 MB / 0.8315 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004711/1.605, allocations: 1.382 MB / 0.8329 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/1.607, allocations: 0.7987 MB / 0.8337 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/1.609, allocations: 462.4 kB / 0.8341 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/1.611, allocations: 0.5127 MB / 0.8346 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003744/1.611, allocations: 67.81 kB / 0.8347 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/1.613, allocations: 414.3 kB / 0.8351 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005123/1.614, allocations: 263.8 kB / 0.8353 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.615, allocations: 0.5754 MB / 0.8359 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/1.618, allocations: 1.401 MB / 0.8372 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/1.618, allocations: 0 / 0.8372 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.106e-06/1.618, allocations: 0 / 0.8372 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.55e-05/1.618, allocations: 4.938 kB / 0.8372 GB, free: 15.77 MB / 0.5762 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.006286/1.625, allocations: 1.675 MB / 0.8389 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/1.625, allocations: 14.81 kB / 0.8389 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/1.626, allocations: 215.1 kB / 0.8391 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/1.629, allocations: 0.8875 MB / 0.84 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.629, allocations: 73.34 kB / 0.84 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/1.629, allocations: 99.75 kB / 0.8401 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/1.633, allocations: 1.028 MB / 0.8411 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/1.633, allocations: 4 kB / 0.8411 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/1.633, allocations: 44.17 kB / 0.8412 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/1.633, allocations: 24.75 kB / 0.8412 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/1.637, allocations: 1.166 MB / 0.8423 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/1.647, allocations: 2.828 MB / 0.8451 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/1.65, allocations: 0.7892 MB / 0.8459 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008381/1.65, allocations: 303.6 kB / 0.8462 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/1.651, allocations: 41.95 kB / 0.8462 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.652, allocations: 495.5 kB / 0.8467 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.629e-06/1.652, allocations: 0 / 0.8467 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.005681/1.658, allocations: 1.204 MB / 0.8478 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/1.658, allocations: 193 kB / 0.848 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/1.661, allocations: 0.7912 MB / 0.8488 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/1.661, allocations: 43.23 kB / 0.8488 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/1.662, allocations: 0.5112 MB / 0.8493 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/1.662, allocations: 251.7 kB / 0.8496 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/1.663, allocations: 165.7 kB / 0.8497 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003891/1.663, allocations: 334.8 kB / 0.8501 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/1.664, allocations: 269.2 kB / 0.8503 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/1.665, allocations: 362.4 kB / 0.8507 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.667, allocations: 0.5964 MB / 0.8512 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.667, allocations: 0 / 0.8512 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.004102/1.671, allocations: 0.863 MB / 0.8521 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.672, allocations: 8.344 kB / 0.8521 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.672, allocations: 0 / 0.8521 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009627/1.673, allocations: 85.58 kB / 0.8522 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.674, allocations: 155.3 kB / 0.8523 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/1.677, allocations: 1.545 MB / 0.8538 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.679, allocations: 99 kB / 0.8539 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.679, allocations: 34.59 kB / 0.854 GB, free: 5.43 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 (92): * Single equations (assignments): 91 * 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.001335/1.681, allocations: 288.8 kB / 0.8542 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/1.681, allocations: 105 kB / 0.8543 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/1.686, allocations: 1.076 MB / 0.8554 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.686, allocations: 10.44 kB / 0.8554 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.686, allocations: 0 / 0.8554 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.686, allocations: 7.984 kB / 0.8554 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/1.688, allocations: 1.013 MB / 0.8564 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.688, allocations: 0 / 0.8564 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.69, allocations: 147.8 kB / 0.8565 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009086/1.69, allocations: 86.11 kB / 0.8566 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.691, allocations: 23.27 kB / 0.8566 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/1.694, allocations: 1.547 MB / 0.8582 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.694, allocations: 8 kB / 0.8582 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/1.698, allocations: 0.943 MB / 0.8591 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/1.699, allocations: 296.6 kB / 0.8594 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.699, allocations: 16.69 kB / 0.8594 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.7, allocations: 58.53 kB / 0.8594 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.7, allocations: 73.2 kB / 0.8595 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.7, allocations: 38.86 kB / 0.8595 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001531/1.702, allocations: 0.5536 MB / 0.8601 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/1.702, allocations: 0 / 0.8601 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002057/1.704, allocations: 333.5 kB / 0.8604 GB, free: 0.9141 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.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 (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.002686/1.707, allocations: 0.597 MB / 0.861 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003169/1.71, allocations: 0.8336 MB / 0.8618 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.71, allocations: 0 / 0.8618 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.712, allocations: 0.5119 MB / 0.8623 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/1.715, allocations: 417.5 kB / 0.8627 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/1.725, allocations: 2.569 MB / 0.8652 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.726, allocations: 1.101 MB / 0.8663 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/1.727, allocations: 122.6 kB / 0.8664 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of SimCode: time 1.733e-06/1.727, allocations: 2.75 kB / 0.8664 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.07226/1.799, allocations: 22.13 MB / 0.888 GB, free: 10.71 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o] Error 1