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.001645/0.001645, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001823/0.001823, allocations: 220 kB / 22.99 MB, free: 4.914 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.9222/0.9222, allocations: 145 MB / 458.2 MB, free: 15.24 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.002097/0.002097, allocations: 71.33 kB / 0.6343 GB, free: 6.227 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.161, allocations: 87.89 MB / 0.7201 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006889/0.1679, allocations: 4.444 MB / 0.7245 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5269/0.6948, allocations: 132.8 MB / 0.8542 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.6959, allocations: 39.62 kB / 0.8542 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.697, allocations: 343.8 kB / 0.8546 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.6992, allocations: 0.513 MB / 0.8551 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.7017, allocations: 0.8714 MB / 0.8559 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.7037, allocations: 1.364 MB / 0.8572 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.7047, allocations: 0.5365 MB / 0.8578 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008872/0.7056, allocations: 0.5137 MB / 0.8583 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.7064, allocations: 469.3 kB / 0.8587 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.7066, allocations: 120 kB / 0.8588 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.7077, allocations: 498.5 kB / 0.8593 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.708, allocations: 310.9 kB / 0.8596 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.7086, allocations: 477.4 kB / 0.8601 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.7109, allocations: 1.918 MB / 0.8619 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7109, allocations: 4 kB / 0.8619 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7109, allocations: 9.625 kB / 0.8619 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.711, allocations: 0 / 0.8619 GB, free: 9.703 MB / 0.6387 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.002618/0.7136, allocations: 1.567 MB / 0.8635 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7136, allocations: 8.031 kB / 0.8635 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.7151, allocations: 252.7 kB / 0.8637 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.7166, allocations: 0.8119 MB / 0.8645 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.7167, allocations: 70 kB / 0.8646 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7168, allocations: 88 kB / 0.8647 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.7187, allocations: 1.232 MB / 0.8659 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.7187, allocations: 0 / 0.8659 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.7188, allocations: 36 kB / 0.8659 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.7188, allocations: 24 kB / 0.8659 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.7207, allocations: 1.081 MB / 0.867 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.7247, allocations: 2.222 MB / 0.8691 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.726, allocations: 0.6559 MB / 0.8698 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.7265, allocations: 248.4 kB / 0.87 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.7265, allocations: 28.62 kB / 0.8701 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008153/0.7274, allocations: 0.5158 MB / 0.8706 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.7274, allocations: 0 / 0.8706 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002934/0.7303, allocations: 1.007 MB / 0.8715 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7304, allocations: 196.6 kB / 0.8717 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7314, allocations: 0.7042 MB / 0.8724 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.7315, allocations: 37.7 kB / 0.8724 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.732, allocations: 0.5046 MB / 0.8729 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7322, allocations: 238 kB / 0.8732 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.7325, allocations: 146.2 kB / 0.8733 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7327, allocations: 330 kB / 0.8736 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.7332, allocations: 241.2 kB / 0.8739 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.7339, allocations: 443.9 kB / 0.8743 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7349, allocations: 0.543 MB / 0.8748 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7349, allocations: 0 / 0.8748 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00194/0.7369, allocations: 0.7785 MB / 0.8756 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.7369, allocations: 8.094 kB / 0.8756 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7369, allocations: 3.984 kB / 0.8756 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.7375, allocations: 84.72 kB / 0.8757 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.7381, allocations: 147.8 kB / 0.8758 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.7406, allocations: 1.508 MB / 0.8773 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.7413, allocations: 71.66 kB / 0.8773 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.7413, allocations: 27.98 kB / 0.8774 GB, free: 9.383 MB / 0.6544 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.0005411/0.7419, allocations: 277.3 kB / 0.8776 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.742, allocations: 103.4 kB / 0.8777 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.7443, allocations: 0.9681 MB / 0.8787 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.7443, allocations: 8 kB / 0.8787 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7443, allocations: 4 kB / 0.8787 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.7443, allocations: 3.984 kB / 0.8787 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.7453, allocations: 0.6733 MB / 0.8793 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7453, allocations: 4 kB / 0.8794 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.7458, allocations: 139.7 kB / 0.8795 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/0.7463, allocations: 72.8 kB / 0.8796 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.7463, allocations: 19.98 kB / 0.8796 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.7483, allocations: 1.543 MB / 0.8811 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7483, allocations: 0 / 0.8811 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.7502, allocations: 0.8457 MB / 0.8819 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.7506, allocations: 191.1 kB / 0.8821 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7507, allocations: 15.94 kB / 0.8821 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.7513, allocations: 55.94 kB / 0.8822 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7514, allocations: 64.88 kB / 0.8822 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.7515, allocations: 27.98 kB / 0.8822 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007323/0.7522, allocations: 0.4951 MB / 0.8827 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7522, allocations: 0 / 0.8827 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000863/0.7531, allocations: 323 kB / 0.883 GB, free: 3.398 MB / 0.6544 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.00207/0.7551, allocations: 0.6378 MB / 0.8837 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.7567, allocations: 0.7238 MB / 0.8844 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7567, allocations: 0 / 0.8844 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.7576, allocations: 448.5 kB / 0.8848 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7592, allocations: 488.9 kB / 0.8853 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.7636, allocations: 2.003 MB / 0.8872 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.7642, allocations: 499.4 kB / 0.8877 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.7645, allocations: 115.4 kB / 0.8878 GB, free: 14.68 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.7645, allocations: 0 / 0.8878 GB, free: 14.68 MB / 0.67 GB Notification: Performance of Templates: time 0.0312/0.7957, allocations: 21.39 MB / 0.9087 GB, free: 9.281 MB / 0.6856 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 -DOMC_BUILD -DUSE_THREAD -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.545429585967213] Failed to read output from testmodel.py, exit status != 0: 0.8047808660194278 0.819581852 0.10530265700000001 Calling exit ...