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.0009261/0.000926, allocations: 99.11 kB / 16.02 MB, free: 76 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.0008307/0.0008308, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.331/1.331, allocations: 223.2 MB / 240.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 274.7 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9478/0.9478, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005184, allocations: 15.44 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1771, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005563/0.1827, allocations: 4.653 MB / 0.6903 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5537/0.7364, allocations: 146.9 MB / 0.8338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.7374, allocations: 25.62 kB / 0.8338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008757/0.7383, allocations: 286.2 kB / 0.8341 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.7401, allocations: 453.1 kB / 0.8345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.7421, allocations: 0.7347 MB / 0.8352 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.7439, allocations: 1.381 MB / 0.8366 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.7452, allocations: 0.776 MB / 0.8373 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007143/0.7459, allocations: 380.6 kB / 0.8377 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.7465, allocations: 426.3 kB / 0.8381 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.7466, allocations: 26.84 kB / 0.8381 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00074/0.7474, allocations: 376.4 kB / 0.8385 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.7476, allocations: 210.3 kB / 0.8387 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.748, allocations: 0.5348 MB / 0.8392 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.7492, allocations: 1.37 MB / 0.8405 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7492, allocations: 0 / 0.8405 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7492, allocations: 2.031 kB / 0.8406 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.7492, allocations: 0 / 0.8406 GB, free: 7.652 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002163/0.7514, allocations: 1.406 MB / 0.8419 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.7514, allocations: 9.594 kB / 0.8419 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008581/0.7523, allocations: 232.3 kB / 0.8422 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7534, allocations: 0.889 MB / 0.843 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.7534, allocations: 69.56 kB / 0.8431 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.7535, allocations: 99.38 kB / 0.8432 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.7551, allocations: 1.034 MB / 0.8442 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7552, allocations: 5.891 kB / 0.8442 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.7553, allocations: 41.12 kB / 0.8442 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.7553, allocations: 29.06 kB / 0.8443 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.757, allocations: 1.174 MB / 0.8454 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.761, allocations: 2.857 MB / 0.8482 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.7623, allocations: 0.8047 MB / 0.849 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.7628, allocations: 306.5 kB / 0.8493 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.7629, allocations: 30.78 kB / 0.8493 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008478/0.7637, allocations: 0.4907 MB / 0.8498 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.244e-06/0.7637, allocations: 0 / 0.8498 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002866/0.7666, allocations: 1.221 MB / 0.851 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.7667, allocations: 188.6 kB / 0.8512 GB, free: 472 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.7677, allocations: 0.7973 MB / 0.8519 GB, free: 16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.7677, allocations: 43.55 kB / 0.852 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.7681, allocations: 0.5068 MB / 0.8525 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.7683, allocations: 249.2 kB / 0.8527 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.7684, allocations: 67.53 kB / 0.8528 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7685, allocations: 342.1 kB / 0.8531 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.769, allocations: 271.4 kB / 0.8534 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.7696, allocations: 363 kB / 0.8537 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.7706, allocations: 0.6186 MB / 0.8543 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7706, allocations: 0 / 0.8543 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001752/0.7723, allocations: 0.8755 MB / 0.8552 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7724, allocations: 9.719 kB / 0.8552 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.7724, allocations: 1.438 kB / 0.8552 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.7729, allocations: 83.22 kB / 0.8553 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.7735, allocations: 165.5 kB / 0.8554 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.7754, allocations: 1.547 MB / 0.8569 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.7761, allocations: 96.45 kB / 0.857 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.7762, allocations: 34.28 kB / 0.8571 GB, free: 12.11 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.0004246/0.7766, allocations: 291.2 kB / 0.8573 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.7767, allocations: 112 kB / 0.8574 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.7789, allocations: 1.084 MB / 0.8585 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.7789, allocations: 8.125 kB / 0.8585 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.7789, allocations: 0 / 0.8585 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.779, allocations: 3.984 kB / 0.8585 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.78, allocations: 1.016 MB / 0.8595 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.78, allocations: 4 kB / 0.8595 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.7806, allocations: 145.3 kB / 0.8596 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.7811, allocations: 80.5 kB / 0.8597 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.7811, allocations: 24.86 kB / 0.8597 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.7828, allocations: 1.563 MB / 0.8613 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7828, allocations: 3.938 kB / 0.8613 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.7846, allocations: 0.9486 MB / 0.8622 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.785, allocations: 303 kB / 0.8625 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.7851, allocations: 21.19 kB / 0.8625 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.7857, allocations: 81.89 kB / 0.8626 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7859, allocations: 67.31 kB / 0.8626 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.786, allocations: 34.19 kB / 0.8627 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006973/0.7867, allocations: 0.5582 MB / 0.8632 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7867, allocations: 4 kB / 0.8632 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008474/0.7875, allocations: 332.9 kB / 0.8635 GB, free: 7.547 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.001407/0.7889, allocations: 0.6033 MB / 0.8641 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.7906, allocations: 0.8336 MB / 0.865 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7906, allocations: 0 / 0.865 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.7915, allocations: 0.5192 MB / 0.8655 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7931, allocations: 415 kB / 0.8659 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.7977, allocations: 2.642 MB / 0.8684 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.7985, allocations: 1.102 MB / 0.8695 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.7988, allocations: 119.4 kB / 0.8696 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.7988, allocations: 0 / 0.8696 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.03482/0.8337, allocations: 21.96 MB / 0.8911 GB, free: 12.92 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