Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001176/0.001176, allocations: 183 kB / 17.34 MB, free: 5.766 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 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.8982/0.8982, allocations: 143 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 60.41 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1695, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009841/0.1793, allocations: 6.217 MB / 0.6823 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6185/0.7978, allocations: 153.3 MB / 0.832 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.8001, allocations: 34.34 kB / 0.832 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.8015, allocations: 313.1 kB / 0.8323 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.8048, allocations: 0.6565 MB / 0.833 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.8086, allocations: 1.299 MB / 0.8342 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.8121, allocations: 2.324 MB / 0.8365 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.8142, allocations: 1.071 MB / 0.8376 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.8159, allocations: 0.7824 MB / 0.8383 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.8175, allocations: 0.7985 MB / 0.8391 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.8182, allocations: 186.2 kB / 0.8393 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.8207, allocations: 0.9472 MB / 0.8402 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007796/0.8215, allocations: 493.4 kB / 0.8407 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.8231, allocations: 0.8973 MB / 0.8415 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.828, allocations: 2.84 MB / 0.8443 GB, free: 296 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8281, allocations: 0 / 0.8443 GB, free: 296 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8281, allocations: 0 / 0.8443 GB, free: 296 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001173/0.8282, allocations: 2.406 kB / 0.8443 GB, free: 296 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005785/0.834, allocations: 2.164 MB / 0.8464 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.834, allocations: 9.688 kB / 0.8464 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.8364, allocations: 360.9 kB / 0.8468 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.8389, allocations: 1.243 MB / 0.848 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/0.8391, allocations: 104 kB / 0.8481 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.8394, allocations: 125.5 kB / 0.8482 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.8427, allocations: 1.524 MB / 0.8497 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.8427, allocations: 0 / 0.8497 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.8429, allocations: 64 kB / 0.8498 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.8429, allocations: 32 kB / 0.8498 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.8464, allocations: 2.039 MB / 0.8518 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.8542, allocations: 4.393 MB / 0.8561 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.8572, allocations: 1.419 MB / 0.8575 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.8582, allocations: 0.5434 MB / 0.858 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.8584, allocations: 57.19 kB / 0.8581 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.86, allocations: 0.793 MB / 0.8588 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=136): time 3.988e-06/0.86, allocations: 0 / 0.8588 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=136): time 0.006052/0.866, allocations: 2.103 MB / 0.8609 GB, free: 316 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.8663, allocations: 355.2 kB / 0.8612 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.8681, allocations: 1.083 MB / 0.8623 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.8682, allocations: 49.7 kB / 0.8623 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/0.8688, allocations: 0.6066 MB / 0.8629 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.8692, allocations: 461.4 kB / 0.8634 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/0.8697, allocations: 278.7 kB / 0.8636 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8699, allocations: 361.9 kB / 0.864 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.8709, allocations: 482.3 kB / 0.8644 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.8722, allocations: 0.6521 MB / 0.8651 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.8744, allocations: 1.116 MB / 0.8662 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.8745, allocations: 0 / 0.8662 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003967/0.8784, allocations: 1.516 MB / 0.8676 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.8785, allocations: 14.12 kB / 0.8677 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.8785, allocations: 1.016 kB / 0.8677 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.8797, allocations: 169.8 kB / 0.8678 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8809, allocations: 291.6 kB / 0.8681 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.885, allocations: 3.293 MB / 0.8713 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.8866, allocations: 155.4 kB / 0.8715 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.8868, allocations: 71.94 kB / 0.8715 GB, free: 4.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009482/0.8878, allocations: 386.3 kB / 0.8719 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.8882, allocations: 154.1 kB / 0.872 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.893, allocations: 1.966 MB / 0.874 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.8931, allocations: 19.94 kB / 0.874 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8931, allocations: 0 / 0.874 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.8931, allocations: 11.91 kB / 0.874 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.8953, allocations: 1.471 MB / 0.8754 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8953, allocations: 0 / 0.8754 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.8964, allocations: 279.6 kB / 0.8757 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/0.8973, allocations: 141.6 kB / 0.8758 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.8974, allocations: 43.97 kB / 0.8759 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.9014, allocations: 3.347 MB / 0.8791 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9015, allocations: 0 / 0.8791 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.9057, allocations: 1.623 MB / 0.8807 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/0.9065, allocations: 424.3 kB / 0.8811 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.9069, allocations: 35.94 kB / 0.8812 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.9082, allocations: 113.3 kB / 0.8813 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.9084, allocations: 117.8 kB / 0.8814 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9086, allocations: 59.97 kB / 0.8814 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001239/0.9098, allocations: 0.7455 MB / 0.8822 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9098, allocations: 0 / 0.8822 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001583/0.9114, allocations: 474.9 kB / 0.8826 GB, free: 9.113 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/0.9131, allocations: 0.6437 MB / 0.8833 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.9164, allocations: 1.515 MB / 0.8847 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.9164, allocations: 3.938 kB / 0.8847 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.9183, allocations: 0.9575 MB / 0.8857 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.921, allocations: 0.5866 MB / 0.8862 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/0.9286, allocations: 3.085 MB / 0.8893 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.9296, allocations: 1.277 MB / 0.8905 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.9303, allocations: 203.3 kB / 0.8907 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.9303, allocations: 4 kB / 0.8907 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of Templates: time 0.04805/0.9784, allocations: 37.28 MB / 0.9271 GB, free: 11.7 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3Functions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.o] Error 1