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.001539/0.001539, allocations: 109 kB / 16.41 MB, free: 6.5 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.001452/0.001452, allocations: 183 kB / 17.34 MB, free: 5.762 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.17 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.9211/0.9211, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.66 kB / 0.5962 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1668, allocations: 82.03 MB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007037/0.1738, allocations: 4.89 MB / 0.6811 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5398/0.7136, allocations: 151.2 MB / 0.8287 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.7146, allocations: 27.06 kB / 0.8287 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.7155, allocations: 348.1 kB / 0.8291 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.7173, allocations: 495.7 kB / 0.8295 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.7193, allocations: 0.8295 MB / 0.8303 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.721, allocations: 1.345 MB / 0.8316 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.722, allocations: 0.5607 MB / 0.8322 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.7227, allocations: 492.6 kB / 0.8327 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.7233, allocations: 0.5102 MB / 0.8332 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.7234, allocations: 119.3 kB / 0.8333 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.7243, allocations: 493.4 kB / 0.8337 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.7246, allocations: 303.9 kB / 0.834 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.7252, allocations: 0.5919 MB / 0.8346 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.7275, allocations: 1.856 MB / 0.8364 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7275, allocations: 4 kB / 0.8364 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7275, allocations: 0 / 0.8364 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.7276, allocations: 0.75 kB / 0.8364 GB, free: 6.113 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.002709/0.7303, allocations: 1.626 MB / 0.838 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7303, allocations: 14.75 kB / 0.838 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.7313, allocations: 215.8 kB / 0.8382 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.7327, allocations: 0.8746 MB / 0.8391 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.7328, allocations: 71.78 kB / 0.8392 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.7329, allocations: 93.17 kB / 0.8393 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.7346, allocations: 0.9706 MB / 0.8402 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.7346, allocations: 3.938 kB / 0.8402 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.7347, allocations: 37.88 kB / 0.8402 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.7347, allocations: 23.06 kB / 0.8403 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.7365, allocations: 1.113 MB / 0.8413 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/0.7407, allocations: 2.673 MB / 0.844 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.7419, allocations: 0.6653 MB / 0.8446 GB, free: 388 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.7423, allocations: 247.1 kB / 0.8448 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-05/0.7424, allocations: 35.67 kB / 0.8449 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007619/0.7432, allocations: 417.1 kB / 0.8453 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.7432, allocations: 3.938 kB / 0.8453 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.002892/0.7461, allocations: 1.079 MB / 0.8463 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.7462, allocations: 187.5 kB / 0.8465 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7473, allocations: 0.7548 MB / 0.8472 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.7474, allocations: 45.64 kB / 0.8473 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.7478, allocations: 0.489 MB / 0.8478 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7481, allocations: 242 kB / 0.848 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.7483, allocations: 150.2 kB / 0.8481 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7485, allocations: 330 kB / 0.8485 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.749, allocations: 233.2 kB / 0.8487 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.7496, allocations: 315.3 kB / 0.849 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.7506, allocations: 0.5429 MB / 0.8495 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7506, allocations: 0 / 0.8495 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001913/0.7525, allocations: 0.7785 MB / 0.8503 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7526, allocations: 4 kB / 0.8503 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7526, allocations: 4 kB / 0.8503 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.7531, allocations: 84.8 kB / 0.8504 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.7537, allocations: 143.8 kB / 0.8505 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.756, allocations: 1.642 MB / 0.8521 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/0.7567, allocations: 87.61 kB / 0.8522 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.7568, allocations: 27.98 kB / 0.8522 GB, free: 9.184 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.0005463/0.7573, allocations: 279.2 kB / 0.8525 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.7575, allocations: 104.4 kB / 0.8526 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.7597, allocations: 0.9695 MB / 0.8535 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7598, allocations: 11.98 kB / 0.8535 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7598, allocations: 0 / 0.8535 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.7598, allocations: 3.984 kB / 0.8535 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.761, allocations: 0.931 MB / 0.8544 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.761, allocations: 0 / 0.8544 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.7615, allocations: 137.5 kB / 0.8546 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.762, allocations: 72.78 kB / 0.8546 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.762, allocations: 27.98 kB / 0.8547 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.7642, allocations: 1.674 MB / 0.8563 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7642, allocations: 4.031 kB / 0.8563 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.7661, allocations: 0.8495 MB / 0.8571 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.7665, allocations: 276.1 kB / 0.8574 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.7666, allocations: 16 kB / 0.8574 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.7671, allocations: 51.94 kB / 0.8575 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7673, allocations: 60.86 kB / 0.8575 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.7673, allocations: 27.98 kB / 0.8576 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007933/0.7681, allocations: 0.5302 MB / 0.8581 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7681, allocations: 0 / 0.8581 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009021/0.769, allocations: 311.1 kB / 0.8584 GB, free: 2.613 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.001942/0.771, allocations: 0.5958 MB / 0.859 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.7727, allocations: 0.72 MB / 0.8597 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7727, allocations: 0 / 0.8597 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008645/0.7735, allocations: 452.3 kB / 0.8601 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.7753, allocations: 484.7 kB / 0.8606 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.7797, allocations: 1.993 MB / 0.8625 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.7804, allocations: 1.07 MB / 0.8635 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.7808, allocations: 111.4 kB / 0.8636 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.7808, allocations: 0 / 0.8636 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.03066/0.8114, allocations: 21.02 MB / 0.8842 GB, free: 8.344 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