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.001206/0.001206, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001255/0.001255, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8143/0.8143, allocations: 143 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 59.91 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3818, allocations: 82.03 MB / 0.5949 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007485/0.3894, allocations: 4.864 MB / 0.5997 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1728/0.5622, allocations: 150.8 MB / 0.7469 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.5635, allocations: 27.81 kB / 0.7469 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.5647, allocations: 337.6 kB / 0.7473 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.5667, allocations: 495.7 kB / 0.7477 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.5689, allocations: 0.8208 MB / 0.7485 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.5707, allocations: 1.344 MB / 0.7498 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.572, allocations: 0.8059 MB / 0.7506 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2808/0.8528, allocations: 483.8 kB / 0.7511 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/0.8536, allocations: 0.5047 MB / 0.7516 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.8539, allocations: 118.5 kB / 0.7517 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009496/0.8548, allocations: 463.6 kB / 0.7521 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.8551, allocations: 307.2 kB / 0.7524 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.8556, allocations: 0.5906 MB / 0.753 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.8573, allocations: 1.802 MB / 0.7548 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8573, allocations: 0.75 kB / 0.7548 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8573, allocations: 0 / 0.7548 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.8573, allocations: 0.5938 kB / 0.7548 GB, free: 2.812 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002078/0.8594, allocations: 1.571 MB / 0.7563 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8595, allocations: 11 kB / 0.7563 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8605, allocations: 216.5 kB / 0.7565 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.8617, allocations: 0.8454 MB / 0.7574 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.8618, allocations: 76 kB / 0.7574 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8619, allocations: 91.72 kB / 0.7575 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.8634, allocations: 0.9667 MB / 0.7585 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.8634, allocations: 9.312 kB / 0.7585 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.8635, allocations: 37.5 kB / 0.7585 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.8635, allocations: 23.34 kB / 0.7585 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.8652, allocations: 1.119 MB / 0.7596 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.8689, allocations: 2.7 MB / 0.7622 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.8701, allocations: 0.6982 MB / 0.7629 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.8706, allocations: 273.4 kB / 0.7632 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/0.8707, allocations: 32.69 kB / 0.7632 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.8715, allocations: 414.9 kB / 0.7636 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.825e-06/0.8715, allocations: 1.375 kB / 0.7636 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.002783/0.8743, allocations: 1.079 MB / 0.7647 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8744, allocations: 191.1 kB / 0.7649 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.8751, allocations: 0.7525 MB / 0.7656 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.8752, allocations: 37.45 kB / 0.7656 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.8754, allocations: 499.8 kB / 0.7661 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.8756, allocations: 228 kB / 0.7663 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.8757, allocations: 143.3 kB / 0.7665 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8759, allocations: 334.9 kB / 0.7668 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.8762, allocations: 233.6 kB / 0.767 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.8767, allocations: 317.2 kB / 0.7673 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.8775, allocations: 0.5426 MB / 0.7678 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8776, allocations: 1.703 kB / 0.7678 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001784/0.8793, allocations: 0.7795 MB / 0.7686 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8794, allocations: 4.938 kB / 0.7686 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8794, allocations: 0.9062 kB / 0.7686 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.8799, allocations: 87.47 kB / 0.7687 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.8805, allocations: 135.8 kB / 0.7688 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.8824, allocations: 1.655 MB / 0.7704 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.8829, allocations: 77.48 kB / 0.7705 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.883, allocations: 33.89 kB / 0.7705 GB, free: 13.66 MB / 0.5919 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.0003278/0.8833, allocations: 274.6 kB / 0.7708 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.8834, allocations: 95.03 kB / 0.7709 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.8853, allocations: 0.9757 MB / 0.7718 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.8853, allocations: 9.406 kB / 0.7719 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.8854, allocations: 1.406 kB / 0.7719 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.8854, allocations: 9.859 kB / 0.7719 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.8862, allocations: 0.9243 MB / 0.7728 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8862, allocations: 1.203 kB / 0.7728 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.8867, allocations: 138.6 kB / 0.7729 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/0.8871, allocations: 69.5 kB / 0.773 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.8871, allocations: 24.88 kB / 0.773 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8888, allocations: 1.68 MB / 0.7746 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8888, allocations: 1.875 kB / 0.7746 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.8904, allocations: 0.8479 MB / 0.7755 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.8907, allocations: 267.3 kB / 0.7757 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8908, allocations: 16.09 kB / 0.7757 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.8913, allocations: 53.86 kB / 0.7758 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8914, allocations: 57.27 kB / 0.7758 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.8915, allocations: 29.5 kB / 0.7759 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005209/0.892, allocations: 0.5284 MB / 0.7764 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.61e-07/0.892, allocations: 0.875 kB / 0.7764 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007259/0.8927, allocations: 313.4 kB / 0.7767 GB, free: 11.31 MB / 0.5919 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.001233/0.894, allocations: 0.5966 MB / 0.7773 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.8957, allocations: 0.9206 MB / 0.7782 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8957, allocations: 3.438 kB / 0.7782 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.8965, allocations: 483 kB / 0.7786 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.898, allocations: 489.9 kB / 0.7791 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.9014, allocations: 1.976 MB / 0.781 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.902, allocations: 1.076 MB / 0.7821 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.9022, allocations: 116.6 kB / 0.7822 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.9022, allocations: 0 / 0.7822 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of Templates: time 0.02187/0.9241, allocations: 20.86 MB / 0.8026 GB, free: 3.492 MB / 0.5919 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