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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001801/0.001801, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001955/0.001956, allocations: 192.7 kB / 16.91 MB, free: 6.184 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.566/1.566, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9212/0.9212, allocations: 143.3 MB / 434 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 59.91 kB / 0.5146 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3602, allocations: 82.03 MB / 0.5947 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005561/0.3658, allocations: 4.868 MB / 0.5994 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1778/0.5437, allocations: 148.5 MB / 0.7445 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5448, allocations: 27.81 kB / 0.7445 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.546, allocations: 298.2 kB / 0.7448 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.548, allocations: 425.9 kB / 0.7452 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.5502, allocations: 0.7254 MB / 0.7459 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.5523, allocations: 1.356 MB / 0.7472 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.5538, allocations: 0.8175 MB / 0.748 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000873/0.5547, allocations: 490.1 kB / 0.7485 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008237/0.5555, allocations: 0.5052 MB / 0.749 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.5558, allocations: 116 kB / 0.7491 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.557, allocations: 463.7 kB / 0.7495 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.5574, allocations: 299 kB / 0.7498 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008685/0.5583, allocations: 0.5943 MB / 0.7504 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3101/0.8684, allocations: 1.412 MB / 0.7518 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.8684, allocations: 1.031 kB / 0.7518 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8685, allocations: 0.6875 kB / 0.7518 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.8685, allocations: 0 / 0.7518 GB, free: 5.25 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.002916/0.8714, allocations: 1.576 MB / 0.7533 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8715, allocations: 10.12 kB / 0.7533 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.8726, allocations: 209.5 kB / 0.7535 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.8739, allocations: 0.8477 MB / 0.7544 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.874, allocations: 77.09 kB / 0.7544 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8741, allocations: 91.36 kB / 0.7545 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.8758, allocations: 0.9656 MB / 0.7555 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.8758, allocations: 4.75 kB / 0.7555 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.8759, allocations: 44.67 kB / 0.7555 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.8759, allocations: 24.33 kB / 0.7555 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.8777, allocations: 1.119 MB / 0.7566 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.8817, allocations: 2.701 MB / 0.7593 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.8831, allocations: 0.697 MB / 0.7599 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.8836, allocations: 276.8 kB / 0.7602 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/0.8837, allocations: 29.28 kB / 0.7602 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.8846, allocations: 423.5 kB / 0.7606 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.8846, allocations: 2.75 kB / 0.7606 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.003324/0.8879, allocations: 1.07 MB / 0.7617 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.888, allocations: 195.3 kB / 0.7619 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8892, allocations: 0.752 MB / 0.7626 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.8894, allocations: 39.89 kB / 0.7626 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.8898, allocations: 495.2 kB / 0.7631 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.89, allocations: 229.7 kB / 0.7633 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.8903, allocations: 149.3 kB / 0.7635 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.8903, allocations: 332.4 kB / 0.7638 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.8909, allocations: 230.3 kB / 0.764 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.8916, allocations: 318.4 kB / 0.7643 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.8925, allocations: 0.547 MB / 0.7649 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8925, allocations: 0 / 0.7649 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001909/0.8944, allocations: 0.7774 MB / 0.7656 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8945, allocations: 8.062 kB / 0.7656 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.8945, allocations: 0.9375 kB / 0.7656 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.8951, allocations: 84.34 kB / 0.7657 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.8956, allocations: 136.7 kB / 0.7658 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.8976, allocations: 1.655 MB / 0.7674 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.8984, allocations: 75.52 kB / 0.7675 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.8985, allocations: 32.59 kB / 0.7676 GB, free: 16.1 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.0005489/0.8991, allocations: 281.5 kB / 0.7678 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.8993, allocations: 90.38 kB / 0.7679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.9016, allocations: 0.9833 MB / 0.7689 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.9016, allocations: 7.906 kB / 0.7689 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.9016, allocations: 0.9062 kB / 0.7689 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.9016, allocations: 2.953 kB / 0.7689 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.903, allocations: 0.9321 MB / 0.7698 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.903, allocations: 0.9062 kB / 0.7698 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.9035, allocations: 139.2 kB / 0.7699 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.904, allocations: 74.2 kB / 0.77 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.904, allocations: 19.48 kB / 0.77 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.9061, allocations: 1.678 MB / 0.7716 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9062, allocations: 0 / 0.7716 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.9081, allocations: 0.8468 MB / 0.7725 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.9086, allocations: 267.8 kB / 0.7727 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9088, allocations: 18.17 kB / 0.7727 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.9093, allocations: 49.23 kB / 0.7728 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.9095, allocations: 62.94 kB / 0.7729 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.9095, allocations: 30.11 kB / 0.7729 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007081/0.9103, allocations: 0.5274 MB / 0.7734 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9103, allocations: 0 / 0.7734 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008911/0.9112, allocations: 308.5 kB / 0.7737 GB, free: 13.75 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.001946/0.9131, allocations: 0.5938 MB / 0.7743 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.9153, allocations: 0.9208 MB / 0.7752 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9153, allocations: 2.688 kB / 0.7752 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.9161, allocations: 481.2 kB / 0.7756 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9178, allocations: 482.7 kB / 0.7761 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.9223, allocations: 2.435 MB / 0.7785 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.9231, allocations: 1.071 MB / 0.7795 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.9235, allocations: 117.4 kB / 0.7796 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/0.9235, allocations: 2.094 kB / 0.7796 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.02837/0.9519, allocations: 20.87 MB / 0.8 GB, free: 5.742 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++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