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.00146/0.001461, allocations: 102.6 kB / 15.98 MB, free: 5.891 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.001696/0.001696, allocations: 193.1 kB / 16.91 MB, free: 5.746 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.464/1.464, allocations: 222.9 MB / 240.6 MB, free: 4.527 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 0.976/0.976, allocations: 143 MB / 433.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 55.91 kB / 0.5143 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1524, allocations: 82.04 MB / 0.5944 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006767/0.1592, allocations: 4.861 MB / 0.5992 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.424/0.5831, allocations: 148.5 MB / 0.7442 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.5841, allocations: 22.47 kB / 0.7442 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5852, allocations: 289 kB / 0.7445 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.5871, allocations: 444 kB / 0.7449 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.5892, allocations: 0.7303 MB / 0.7457 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.5907, allocations: 1.345 MB / 0.747 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5918, allocations: 0.8097 MB / 0.7478 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006829/0.5925, allocations: 484.1 kB / 0.7482 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.5931, allocations: 0.5053 MB / 0.7487 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.5933, allocations: 117.9 kB / 0.7488 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/0.5941, allocations: 471.8 kB / 0.7493 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.5944, allocations: 311.5 kB / 0.7496 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.5949, allocations: 0.5904 MB / 0.7502 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.5964, allocations: 1.411 MB / 0.7515 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5965, allocations: 4 kB / 0.7515 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5965, allocations: 0 / 0.7515 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.5965, allocations: 0 / 0.7515 GB, free: 12.48 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.002436/0.5989, allocations: 1.575 MB / 0.7531 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.599, allocations: 12.03 kB / 0.7531 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.5999, allocations: 211 kB / 0.7533 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.601, allocations: 0.8521 MB / 0.7541 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.6011, allocations: 70 kB / 0.7542 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6012, allocations: 88 kB / 0.7543 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6028, allocations: 0.9743 MB / 0.7552 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6029, allocations: 0 / 0.7552 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.603, allocations: 40 kB / 0.7553 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.603, allocations: 24 kB / 0.7553 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.6047, allocations: 1.116 MB / 0.7564 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.6088, allocations: 2.703 MB / 0.759 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.61, allocations: 0.6981 MB / 0.7597 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.6105, allocations: 278.4 kB / 0.76 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.6106, allocations: 32.58 kB / 0.76 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.6114, allocations: 409.8 kB / 0.7604 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.274e-06/0.6114, allocations: 0 / 0.7604 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002856/0.6142, allocations: 1.077 MB / 0.7614 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6144, allocations: 188.5 kB / 0.7616 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009202/0.6153, allocations: 0.7598 MB / 0.7624 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.6154, allocations: 45.7 kB / 0.7624 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.6157, allocations: 488 kB / 0.7629 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.6159, allocations: 236.6 kB / 0.7631 GB, free: 348 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.6162, allocations: 146.1 kB / 0.7632 GB, free: 196 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6163, allocations: 326 kB / 0.7635 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.6168, allocations: 237.2 kB / 0.7638 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.6173, allocations: 324.4 kB / 0.7641 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.6183, allocations: 0.5362 MB / 0.7646 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6183, allocations: 4 kB / 0.7646 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001809/0.6201, allocations: 0.778 MB / 0.7654 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6201, allocations: 4 kB / 0.7654 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6201, allocations: 4 kB / 0.7654 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6208, allocations: 84.86 kB / 0.7655 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.6214, allocations: 139.8 kB / 0.7656 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.6235, allocations: 1.649 MB / 0.7672 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.6242, allocations: 79.42 kB / 0.7673 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.6243, allocations: 28.05 kB / 0.7673 GB, free: 11.83 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.0004921/0.6248, allocations: 285.6 kB / 0.7676 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.625, allocations: 94.81 kB / 0.7677 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6271, allocations: 0.9799 MB / 0.7686 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6272, allocations: 8 kB / 0.7686 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6272, allocations: 0 / 0.7686 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6272, allocations: 7.969 kB / 0.7686 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6282, allocations: 0.9313 MB / 0.7695 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-06/0.6283, allocations: 0 / 0.7695 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.6288, allocations: 135.8 kB / 0.7697 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.6293, allocations: 76.78 kB / 0.7697 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.6293, allocations: 19.98 kB / 0.7698 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6312, allocations: 1.67 MB / 0.7714 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6312, allocations: 4.062 kB / 0.7714 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.633, allocations: 0.8411 MB / 0.7722 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.6333, allocations: 267.7 kB / 0.7725 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6335, allocations: 17.25 kB / 0.7725 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.634, allocations: 56.88 kB / 0.7725 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6341, allocations: 61 kB / 0.7726 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.6342, allocations: 35.97 kB / 0.7726 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006691/0.6349, allocations: 0.5263 MB / 0.7732 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6349, allocations: 0 / 0.7732 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008419/0.6358, allocations: 311 kB / 0.7734 GB, free: 5.289 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.001373/0.6371, allocations: 0.5812 MB / 0.774 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.6392, allocations: 0.927 MB / 0.7749 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6393, allocations: 0 / 0.7749 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.6401, allocations: 480.4 kB / 0.7754 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6417, allocations: 490.8 kB / 0.7758 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6461, allocations: 2.433 MB / 0.7782 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.6468, allocations: 1.074 MB / 0.7793 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.6471, allocations: 119.3 kB / 0.7794 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.946e-06/0.6471, allocations: 0 / 0.7794 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.02764/0.6748, allocations: 20.88 MB / 0.7998 GB, free: 10.55 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