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.001393/0.001393, allocations: 100.1 kB / 15.88 MB, free: 12 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.00161/0.001611, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.9448/0.9448, allocations: 143 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 82.04 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006605/0.1593, allocations: 4.853 MB / 0.599 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.394/0.5533, allocations: 148.4 MB / 0.744 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.5544, allocations: 22.31 kB / 0.744 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5556, allocations: 280.8 kB / 0.7442 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.5574, allocations: 422 kB / 0.7446 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.5595, allocations: 0.7108 MB / 0.7453 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.5612, allocations: 1.252 MB / 0.7466 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.5625, allocations: 0.7882 MB / 0.7473 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006935/0.5632, allocations: 426.9 kB / 0.7477 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.5639, allocations: 481.9 kB / 0.7482 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.5642, allocations: 59.03 kB / 0.7483 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.5652, allocations: 404.7 kB / 0.7486 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.5656, allocations: 246.9 kB / 0.7489 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.5662, allocations: 0.5346 MB / 0.7494 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.568, allocations: 1.391 MB / 0.7508 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.568, allocations: 4 kB / 0.7508 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5681, allocations: 3.938 kB / 0.7508 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.146e-05/0.5681, allocations: 0 / 0.7508 GB, free: 13.36 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.003024/0.5712, allocations: 1.575 MB / 0.7523 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5712, allocations: 8.031 kB / 0.7523 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.5722, allocations: 211 kB / 0.7525 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5735, allocations: 0.8488 MB / 0.7533 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.5735, allocations: 74 kB / 0.7534 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5736, allocations: 88 kB / 0.7535 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5753, allocations: 0.9692 MB / 0.7544 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5753, allocations: 3.938 kB / 0.7544 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.5754, allocations: 36.56 kB / 0.7545 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.5754, allocations: 30.55 kB / 0.7545 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.5772, allocations: 1.12 MB / 0.7556 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.5814, allocations: 2.697 MB / 0.7582 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5827, allocations: 0.7055 MB / 0.7589 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.5832, allocations: 266.4 kB / 0.7592 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-05/0.5833, allocations: 32.59 kB / 0.7592 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008372/0.5842, allocations: 421.7 kB / 0.7596 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.5842, allocations: 0 / 0.7596 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002947/0.5871, allocations: 1.074 MB / 0.7607 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5872, allocations: 188.5 kB / 0.7608 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5884, allocations: 0.763 MB / 0.7616 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.5885, allocations: 41.7 kB / 0.7616 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.5889, allocations: 484 kB / 0.7621 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.5892, allocations: 236.6 kB / 0.7623 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.5894, allocations: 146.2 kB / 0.7624 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5896, allocations: 334 kB / 0.7628 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.5901, allocations: 230.6 kB / 0.763 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.5907, allocations: 319.3 kB / 0.7633 GB, free: 196 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5917, allocations: 0.5478 MB / 0.7638 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5917, allocations: 0 / 0.7638 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001894/0.5936, allocations: 0.778 MB / 0.7646 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5936, allocations: 4 kB / 0.7646 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5936, allocations: 0 / 0.7646 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/0.5943, allocations: 80.88 kB / 0.7647 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.5949, allocations: 147.2 kB / 0.7648 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.597, allocations: 1.536 MB / 0.7663 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.5977, allocations: 76.05 kB / 0.7664 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.5978, allocations: 40.03 kB / 0.7664 GB, free: 12.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.0004694/0.5983, allocations: 281.6 kB / 0.7667 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.5985, allocations: 90.88 kB / 0.7668 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.6007, allocations: 0.9798 MB / 0.7677 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6007, allocations: 8 kB / 0.7677 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6007, allocations: 3.938 kB / 0.7677 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6008, allocations: 3.984 kB / 0.7677 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.6018, allocations: 0.9274 MB / 0.7687 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6019, allocations: 3.938 kB / 0.7687 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.6024, allocations: 135.8 kB / 0.7688 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/0.6029, allocations: 80.81 kB / 0.7689 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.603, allocations: 27.97 kB / 0.7689 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.6049, allocations: 1.552 MB / 0.7704 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6049, allocations: 0 / 0.7704 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6067, allocations: 0.845 MB / 0.7712 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.6071, allocations: 267.4 kB / 0.7715 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6072, allocations: 23.98 kB / 0.7715 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.6078, allocations: 51.89 kB / 0.7716 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.6079, allocations: 64.84 kB / 0.7716 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.608, allocations: 27.98 kB / 0.7716 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007074/0.6087, allocations: 0.5263 MB / 0.7722 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6087, allocations: 0 / 0.7722 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008271/0.6095, allocations: 311 kB / 0.7725 GB, free: 6.406 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.001386/0.6109, allocations: 0.5947 MB / 0.773 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.6125, allocations: 0.7399 MB / 0.7738 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6125, allocations: 4 kB / 0.7738 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.6134, allocations: 476.2 kB / 0.7742 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.6149, allocations: 433.3 kB / 0.7746 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.6193, allocations: 2.44 MB / 0.777 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.6199, allocations: 1.074 MB / 0.7781 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.6203, allocations: 115.4 kB / 0.7782 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.6203, allocations: 3.938 kB / 0.7782 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of Templates: time 0.02669/0.647, allocations: 20.86 MB / 0.7985 GB, free: 11.86 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