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.001515/0.001515, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001723/0.001723, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.07 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 1.024/1.024, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 60.66 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006468/0.1565, allocations: 4.881 MB / 0.681 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5127/0.6692, allocations: 150.8 MB / 0.8283 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.6706, allocations: 27.34 kB / 0.8283 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.6721, allocations: 334.9 kB / 0.8286 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.6752, allocations: 0.4951 MB / 0.8291 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.6789, allocations: 0.8169 MB / 0.8299 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002664/0.6816, allocations: 1.362 MB / 0.8312 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.6835, allocations: 0.809 MB / 0.832 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009652/0.6845, allocations: 495.1 kB / 0.8325 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.6856, allocations: 0.5091 MB / 0.833 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.6859, allocations: 125.2 kB / 0.8331 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.6876, allocations: 481.2 kB / 0.8336 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.6882, allocations: 302.9 kB / 0.8339 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.6893, allocations: 0.597 MB / 0.8344 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.693, allocations: 1.853 MB / 0.8362 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.693, allocations: 0 / 0.8362 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.693, allocations: 0 / 0.8362 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.08e-05/0.6931, allocations: 0 / 0.8362 GB, free: 6.273 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.004609/0.6977, allocations: 1.569 MB / 0.8378 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.6978, allocations: 7.5 kB / 0.8378 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.6996, allocations: 214.7 kB / 0.838 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.7021, allocations: 0.8759 MB / 0.8388 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.7022, allocations: 69.19 kB / 0.8389 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.7025, allocations: 90.84 kB / 0.839 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.7056, allocations: 0.9675 MB / 0.8399 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.7057, allocations: 3.938 kB / 0.8399 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.7058, allocations: 37.69 kB / 0.84 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.7059, allocations: 30.56 kB / 0.84 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.7092, allocations: 1.118 MB / 0.8411 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007362/0.7166, allocations: 2.659 MB / 0.8437 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7189, allocations: 0.7056 MB / 0.8444 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/0.7198, allocations: 274.8 kB / 0.8447 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.72, allocations: 25.31 kB / 0.8447 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.7213, allocations: 422.4 kB / 0.8451 GB, free: 172 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 4.488e-06/0.7213, allocations: 0 / 0.8451 GB, free: 172 kB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.005167/0.7265, allocations: 1.07 MB / 0.8461 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.7267, allocations: 192.5 kB / 0.8463 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.7287, allocations: 0.7592 MB / 0.847 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.7288, allocations: 41.7 kB / 0.8471 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/0.7295, allocations: 488 kB / 0.8476 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.7299, allocations: 240.5 kB / 0.8478 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.7303, allocations: 146.2 kB / 0.8479 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7305, allocations: 337.7 kB / 0.8482 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.7315, allocations: 229.2 kB / 0.8485 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.7326, allocations: 323.3 kB / 0.8488 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.7346, allocations: 0.539 MB / 0.8493 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7346, allocations: 0 / 0.8493 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003488/0.7381, allocations: 0.778 MB / 0.8501 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.7381, allocations: 4 kB / 0.8501 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7382, allocations: 4 kB / 0.8501 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.7392, allocations: 84.81 kB / 0.8501 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.7403, allocations: 140.5 kB / 0.8503 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.7442, allocations: 1.635 MB / 0.8519 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.7455, allocations: 76.73 kB / 0.8519 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.7456, allocations: 35.97 kB / 0.852 GB, free: 9.293 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.0008671/0.7465, allocations: 286.5 kB / 0.8523 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.7469, allocations: 98.72 kB / 0.8524 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.751, allocations: 0.9685 MB / 0.8533 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.751, allocations: 8 kB / 0.8533 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.751, allocations: 0 / 0.8533 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.7511, allocations: 3.984 kB / 0.8533 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.7531, allocations: 0.9347 MB / 0.8542 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7531, allocations: 0 / 0.8542 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.7543, allocations: 139.8 kB / 0.8544 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007193/0.755, allocations: 68.8 kB / 0.8544 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.353e-05/0.7551, allocations: 19.98 kB / 0.8544 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.7582, allocations: 1.678 MB / 0.8561 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7583, allocations: 0 / 0.8561 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.7615, allocations: 0.8373 MB / 0.8569 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.7622, allocations: 271.6 kB / 0.8572 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.7624, allocations: 20 kB / 0.8572 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7635, allocations: 56 kB / 0.8572 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.7637, allocations: 60.86 kB / 0.8573 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7638, allocations: 31.97 kB / 0.8573 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001289/0.7651, allocations: 0.5264 MB / 0.8578 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7652, allocations: 0 / 0.8578 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001406/0.7666, allocations: 322.7 kB / 0.8581 GB, free: 2.723 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.002473/0.7691, allocations: 0.5933 MB / 0.8587 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.7717, allocations: 0.736 MB / 0.8594 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/0.7717, allocations: 4.188 kB / 0.8594 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.7732, allocations: 484.2 kB / 0.8599 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.7762, allocations: 491.6 kB / 0.8604 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/0.7834, allocations: 1.935 MB / 0.8623 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.7845, allocations: 1.07 MB / 0.8633 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.785, allocations: 115.4 kB / 0.8634 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/0.785, allocations: 0 / 0.8634 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.02779/0.8128, allocations: 20.99 MB / 0.8839 GB, free: 8.492 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