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.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00135/0.00135, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001455/0.001455, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8675/0.8675, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 72.33 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1682, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007322/0.1756, allocations: 4.883 MB / 0.681 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5427/0.7183, allocations: 150.8 MB / 0.8283 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.7198, allocations: 25.16 kB / 0.8283 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.7211, allocations: 330 kB / 0.8286 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.7235, allocations: 0.4899 MB / 0.8291 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.7262, allocations: 0.8263 MB / 0.8299 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.7283, allocations: 1.36 MB / 0.8312 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.7295, allocations: 0.7997 MB / 0.832 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/0.7305, allocations: 0.4914 MB / 0.8325 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006382/0.7311, allocations: 0.5077 MB / 0.833 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.7313, allocations: 118 kB / 0.8331 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.7324, allocations: 488.2 kB / 0.8336 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.7327, allocations: 303.7 kB / 0.8338 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.7332, allocations: 0.5926 MB / 0.8344 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.7354, allocations: 1.851 MB / 0.8362 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7354, allocations: 0 / 0.8362 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7354, allocations: 2.688 kB / 0.8362 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7354, allocations: 4 kB / 0.8362 GB, free: 6.312 MB / 0.6075 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.002475/0.7379, allocations: 1.57 MB / 0.8378 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.738, allocations: 10.06 kB / 0.8378 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.7389, allocations: 204.9 kB / 0.838 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.7402, allocations: 0.8738 MB / 0.8388 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.7403, allocations: 75.97 kB / 0.8389 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.7404, allocations: 88.47 kB / 0.839 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.7419, allocations: 0.9753 MB / 0.8399 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.742, allocations: 0 / 0.8399 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.7421, allocations: 46.12 kB / 0.84 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.7421, allocations: 22.91 kB / 0.84 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.7437, allocations: 1.116 MB / 0.8411 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.7477, allocations: 2.654 MB / 0.8437 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7489, allocations: 0.7063 MB / 0.8444 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.7493, allocations: 263.1 kB / 0.8446 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.7494, allocations: 34.48 kB / 0.8447 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/0.7501, allocations: 425.2 kB / 0.8451 GB, free: 216 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 3.526e-06/0.7501, allocations: 0 / 0.8451 GB, free: 216 kB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002845/0.753, allocations: 1.074 MB / 0.8461 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.7531, allocations: 188.5 kB / 0.8463 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.754, allocations: 0.7592 MB / 0.847 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.7541, allocations: 41.7 kB / 0.8471 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.7545, allocations: 491.9 kB / 0.8475 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.7547, allocations: 232.6 kB / 0.8478 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.7549, allocations: 146.2 kB / 0.8479 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.755, allocations: 337.9 kB / 0.8482 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.7555, allocations: 233.2 kB / 0.8484 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.756, allocations: 319.3 kB / 0.8488 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/0.757, allocations: 0.539 MB / 0.8493 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.757, allocations: 0 / 0.8493 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001739/0.7587, allocations: 0.778 MB / 0.85 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7587, allocations: 4 kB / 0.85 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7588, allocations: 0 / 0.85 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.7594, allocations: 88.8 kB / 0.8501 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.7599, allocations: 139.8 kB / 0.8503 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.7621, allocations: 1.645 MB / 0.8519 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.7628, allocations: 76.39 kB / 0.8519 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.7628, allocations: 32.05 kB / 0.852 GB, free: 9.328 MB / 0.6231 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.0004993/0.7634, allocations: 283.3 kB / 0.8522 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7635, allocations: 102.7 kB / 0.8523 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.7658, allocations: 0.9666 MB / 0.8533 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7658, allocations: 8 kB / 0.8533 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7658, allocations: 0 / 0.8533 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7658, allocations: 3.984 kB / 0.8533 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.767, allocations: 0.9347 MB / 0.8542 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.767, allocations: 0 / 0.8542 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.7676, allocations: 143.8 kB / 0.8543 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.768, allocations: 68.78 kB / 0.8544 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.7681, allocations: 19.98 kB / 0.8544 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.77, allocations: 1.678 MB / 0.8561 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7701, allocations: 3.938 kB / 0.8561 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.7718, allocations: 0.8412 MB / 0.8569 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.7722, allocations: 275.6 kB / 0.8572 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7724, allocations: 12 kB / 0.8572 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.7729, allocations: 55.94 kB / 0.8572 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.773, allocations: 60.86 kB / 0.8573 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.7731, allocations: 23.98 kB / 0.8573 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006854/0.7738, allocations: 0.5302 MB / 0.8578 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7738, allocations: 4 kB / 0.8578 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008747/0.7747, allocations: 315 kB / 0.8581 GB, free: 2.758 MB / 0.6231 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.001341/0.776, allocations: 0.5957 MB / 0.8587 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.7775, allocations: 0.7401 MB / 0.8594 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.7776, allocations: 0 / 0.8594 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/0.7784, allocations: 484.2 kB / 0.8599 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.78, allocations: 485.7 kB / 0.8604 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.7845, allocations: 1.939 MB / 0.8622 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/0.7853, allocations: 1.074 MB / 0.8633 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.7856, allocations: 111.4 kB / 0.8634 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.7856, allocations: 0 / 0.8634 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.03011/0.8158, allocations: 20.99 MB / 0.8839 GB, free: 8.52 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile 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.0.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.0.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