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.0009584/0.0009584, allocations: 98.64 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.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.074/1.074, allocations: 143.2 MB / 435.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 12 kB / 0.517 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 83.4 MB / 0.5985 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005338/0.1566, allocations: 4.413 MB / 0.6028 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4206/0.5773, allocations: 146.8 MB / 0.7462 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008299/0.5782, allocations: 22.06 kB / 0.7462 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.5789, allocations: 274.9 kB / 0.7465 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.5805, allocations: 420.7 kB / 0.7469 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.5824, allocations: 0.7113 MB / 0.7476 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.5838, allocations: 1.254 MB / 0.7488 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.5852, allocations: 0.7677 MB / 0.7496 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.5859, allocations: 343.4 kB / 0.7499 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.5864, allocations: 379 kB / 0.7503 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.5865, allocations: 22.41 kB / 0.7503 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.5874, allocations: 367.2 kB / 0.7506 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.5877, allocations: 190.4 kB / 0.7508 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.5881, allocations: 499 kB / 0.7513 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.5896, allocations: 1.364 MB / 0.7526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5896, allocations: 0 / 0.7526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5897, allocations: 1.375 kB / 0.7526 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.5897, allocations: 4 kB / 0.7526 GB, free: 13.52 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.002224/0.5919, allocations: 1.325 MB / 0.7539 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.592, allocations: 12.03 kB / 0.7539 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.5929, allocations: 219.1 kB / 0.7541 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5942, allocations: 0.8557 MB / 0.755 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.5942, allocations: 70 kB / 0.755 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.5944, allocations: 96.67 kB / 0.7551 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.5961, allocations: 0.9692 MB / 0.7561 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5961, allocations: 1.312 kB / 0.7561 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.5962, allocations: 44 kB / 0.7561 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.5963, allocations: 24 kB / 0.7561 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.598, allocations: 1.124 MB / 0.7572 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.6022, allocations: 2.724 MB / 0.7599 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.6035, allocations: 0.7103 MB / 0.7606 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.604, allocations: 270.4 kB / 0.7609 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.6041, allocations: 32.59 kB / 0.7609 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007908/0.6049, allocations: 419 kB / 0.7613 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/0.6049, allocations: 0 / 0.7613 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002863/0.6077, allocations: 1.097 MB / 0.7624 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6079, allocations: 188.5 kB / 0.7625 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.6089, allocations: 0.7553 MB / 0.7633 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.609, allocations: 37.7 kB / 0.7633 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.6094, allocations: 0.492 MB / 0.7638 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.6096, allocations: 220.8 kB / 0.764 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.432e-05/0.6097, allocations: 65.69 kB / 0.7641 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6098, allocations: 326 kB / 0.7644 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.6103, allocations: 241.2 kB / 0.7646 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.6108, allocations: 331.3 kB / 0.7649 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.6118, allocations: 0.544 MB / 0.7654 GB, free: 256 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6118, allocations: 5.5 kB / 0.7655 GB, free: 252 kB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001816/0.6137, allocations: 0.7936 MB / 0.7662 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6137, allocations: 4 kB / 0.7662 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6137, allocations: 0.625 kB / 0.7662 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.6143, allocations: 84.86 kB / 0.7663 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.6149, allocations: 139.8 kB / 0.7664 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.617, allocations: 1.539 MB / 0.768 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.6178, allocations: 90.62 kB / 0.768 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.6178, allocations: 31.97 kB / 0.7681 GB, free: 13.41 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.0005382/0.6184, allocations: 278.3 kB / 0.7683 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.6186, allocations: 102.7 kB / 0.7684 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.6208, allocations: 0.9864 MB / 0.7694 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6208, allocations: 8 kB / 0.7694 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6208, allocations: 0 / 0.7694 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6208, allocations: 7.922 kB / 0.7694 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.6219, allocations: 0.9313 MB / 0.7703 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.622, allocations: 3.984 kB / 0.7703 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.6225, allocations: 135.8 kB / 0.7705 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/0.623, allocations: 84.77 kB / 0.7705 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.6231, allocations: 24.86 kB / 0.7706 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.6249, allocations: 1.554 MB / 0.7721 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6249, allocations: 0 / 0.7721 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6267, allocations: 0.8568 MB / 0.7729 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.6271, allocations: 287.5 kB / 0.7732 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6272, allocations: 16 kB / 0.7732 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.6278, allocations: 72.53 kB / 0.7733 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6279, allocations: 56.92 kB / 0.7733 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.628, allocations: 27.98 kB / 0.7734 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000745/0.6287, allocations: 0.5302 MB / 0.7739 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6287, allocations: 0 / 0.7739 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008717/0.6296, allocations: 311 kB / 0.7742 GB, free: 6.93 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.001337/0.631, allocations: 0.5992 MB / 0.7748 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.6325, allocations: 0.751 MB / 0.7755 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6325, allocations: 4 kB / 0.7755 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.6333, allocations: 484.3 kB / 0.776 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.635, allocations: 433.8 kB / 0.7764 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.6395, allocations: 2.494 MB / 0.7788 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.6401, allocations: 1.074 MB / 0.7798 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.6404, allocations: 111.4 kB / 0.78 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.6405, allocations: 3.938 kB / 0.78 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.02778/0.6682, allocations: 20.71 MB / 0.8002 GB, free: 12.45 MB / 0.6231 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++14 -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