Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 213.2 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8455/0.8455, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 74.56 kB / 0.6344 GB, free: 6.801 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1615, allocations: 87.89 MB / 0.7202 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007026/0.1685, allocations: 4.958 MB / 0.725 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4932/0.6617, allocations: 154.3 MB / 0.8757 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.6626, allocations: 35.69 kB / 0.8758 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.6634, allocations: 352.4 kB / 0.8761 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.6648, allocations: 0.5023 MB / 0.8766 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.6666, allocations: 0.8795 MB / 0.8774 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.6681, allocations: 1.368 MB / 0.8788 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.6689, allocations: 0.5592 MB / 0.8793 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.6695, allocations: 0.5059 MB / 0.8798 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.6701, allocations: 0.5131 MB / 0.8803 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.6703, allocations: 123.9 kB / 0.8804 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.6712, allocations: 0.5195 MB / 0.8809 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.6715, allocations: 314.9 kB / 0.8812 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.672, allocations: 0.5982 MB / 0.8818 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.674, allocations: 1.902 MB / 0.8837 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.674, allocations: 4 kB / 0.8837 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.674, allocations: 0 / 0.8837 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.674, allocations: 0 / 0.8837 GB, free: 5.551 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002378/0.6764, allocations: 1.572 MB / 0.8852 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.6764, allocations: 8.031 kB / 0.8852 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6778, allocations: 251.9 kB / 0.8855 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6791, allocations: 0.8196 MB / 0.8863 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.6792, allocations: 73.94 kB / 0.8863 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6793, allocations: 88 kB / 0.8864 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6808, allocations: 0.9731 MB / 0.8874 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.6809, allocations: 0 / 0.8874 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.6809, allocations: 36 kB / 0.8874 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.681, allocations: 24 kB / 0.8874 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6827, allocations: 1.121 MB / 0.8885 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.6865, allocations: 2.604 MB / 0.8911 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.6877, allocations: 0.6666 MB / 0.8917 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.6882, allocations: 250.7 kB / 0.892 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.949e-05/0.6882, allocations: 32.69 kB / 0.892 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006995/0.6889, allocations: 419.3 kB / 0.8924 GB, free: 12.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=69): time 1.573e-06/0.6889, allocations: 0 / 0.8924 GB, free: 12.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=69): time 0.002697/0.6916, allocations: 1.014 MB / 0.8934 GB, free: 11.42 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6918, allocations: 188.6 kB / 0.8936 GB, free: 11.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.6927, allocations: 0.7828 MB / 0.8943 GB, free: 10.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.6927, allocations: 41.7 kB / 0.8944 GB, free: 10.36 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.6931, allocations: 0.489 MB / 0.8948 GB, free: 9.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.6933, allocations: 242 kB / 0.8951 GB, free: 9.625 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.6935, allocations: 150.2 kB / 0.8952 GB, free: 9.473 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6937, allocations: 334 kB / 0.8955 GB, free: 9.141 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.6941, allocations: 233.2 kB / 0.8958 GB, free: 8.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.6947, allocations: 320.5 kB / 0.8961 GB, free: 8.586 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009783/0.6956, allocations: 0.5433 MB / 0.8966 GB, free: 8.027 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6956, allocations: 0 / 0.8966 GB, free: 8.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001724/0.6974, allocations: 0.7863 MB / 0.8974 GB, free: 7.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6974, allocations: 4 kB / 0.8974 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6974, allocations: 4 kB / 0.8974 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.698, allocations: 80.88 kB / 0.8974 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.6985, allocations: 139.8 kB / 0.8976 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.7006, allocations: 1.55 MB / 0.8991 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.7011, allocations: 71.72 kB / 0.8992 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.7012, allocations: 40.03 kB / 0.8992 GB, free: 5.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003747/0.7016, allocations: 279.4 kB / 0.8995 GB, free: 4.949 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.7017, allocations: 107.3 kB / 0.8996 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.7038, allocations: 0.9731 MB / 0.9005 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7038, allocations: 8 kB / 0.9005 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.7038, allocations: 0 / 0.9005 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7039, allocations: 3.984 kB / 0.9005 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7049, allocations: 0.9144 MB / 0.9014 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7049, allocations: 0 / 0.9014 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.7054, allocations: 135.8 kB / 0.9016 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.7058, allocations: 72.78 kB / 0.9016 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.7059, allocations: 23.98 kB / 0.9016 GB, free: 2.664 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.7078, allocations: 1.57 MB / 0.9032 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7078, allocations: 3.984 kB / 0.9032 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.7095, allocations: 0.8457 MB / 0.904 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.7099, allocations: 195.2 kB / 0.9042 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.71, allocations: 19.98 kB / 0.9042 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.7104, allocations: 53.22 kB / 0.9043 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7106, allocations: 64.88 kB / 0.9043 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.7106, allocations: 27.98 kB / 0.9044 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006725/0.7113, allocations: 0.542 MB / 0.9049 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7113, allocations: 3.938 kB / 0.9049 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007228/0.712, allocations: 319 kB / 0.9052 GB, free: 14.89 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001798/0.7138, allocations: 0.6039 MB / 0.9058 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.7152, allocations: 0.72 MB / 0.9065 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7152, allocations: 0 / 0.9065 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.716, allocations: 456.2 kB / 0.9069 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.7174, allocations: 492.2 kB / 0.9074 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.7213, allocations: 2.004 MB / 0.9093 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.722, allocations: 1.074 MB / 0.9104 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.7223, allocations: 115.4 kB / 0.9105 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.7223, allocations: 4 kB / 0.9105 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of Templates: time 0.02785/0.7501, allocations: 21.31 MB / 0.9313 GB, free: 4.277 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile clang++ -std=c++17 -fopenmp=libomp -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.1.0+maint.om/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.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStationFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStationCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.074051409959793] Failed to read output from testmodel.py, exit status != 0: 0.7585139868315309 0.7715970209999999 0.09460360200000001 Calling exit ...