Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.000996, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.0009954/0.0009955, allocations: 187 kB / 17.34 MB, free: 5.742 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.226/1.226, 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.7917/0.7917, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 57.25 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1325, allocations: 82.03 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005506/0.138, allocations: 4.197 MB / 0.6804 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4491/0.5872, allocations: 150.5 MB / 0.8274 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.5879, allocations: 20.75 kB / 0.8274 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.5885, allocations: 163.7 kB / 0.8275 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.5899, allocations: 485.7 kB / 0.828 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.5916, allocations: 0.8047 MB / 0.8288 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.5927, allocations: 1.217 MB / 0.83 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.5935, allocations: 0.6429 MB / 0.8306 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.5941, allocations: 453.8 kB / 0.831 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.5945, allocations: 459.9 kB / 0.8315 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.5947, allocations: 102.4 kB / 0.8316 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.5955, allocations: 470.6 kB / 0.832 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.5957, allocations: 280.1 kB / 0.8323 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.5961, allocations: 0.5054 MB / 0.8328 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.5976, allocations: 1.563 MB / 0.8343 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5976, allocations: 2.188 kB / 0.8343 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5976, allocations: 0 / 0.8343 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.5976, allocations: 0 / 0.8343 GB, free: 7.898 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00197/0.5996, allocations: 1.351 MB / 0.8356 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.5996, allocations: 10.22 kB / 0.8356 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.6007, allocations: 221.5 kB / 0.8358 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.6018, allocations: 0.7387 MB / 0.8366 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.6018, allocations: 61.06 kB / 0.8366 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.6019, allocations: 85.06 kB / 0.8367 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.6033, allocations: 0.9222 MB / 0.8376 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.6033, allocations: 0 / 0.8376 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.6034, allocations: 37.75 kB / 0.8376 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.6034, allocations: 20.47 kB / 0.8377 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.605, allocations: 1.115 MB / 0.8387 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.6085, allocations: 2.664 MB / 0.8413 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.6099, allocations: 0.8562 MB / 0.8422 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.6103, allocations: 291.2 kB / 0.8425 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.416e-05/0.6104, allocations: 27.97 kB / 0.8425 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006356/0.6111, allocations: 426.7 kB / 0.8429 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/0.6111, allocations: 0 / 0.8429 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.002645/0.6137, allocations: 1.089 MB / 0.844 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.6138, allocations: 192 kB / 0.8441 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.6144, allocations: 0.5979 MB / 0.8447 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.6145, allocations: 36.11 kB / 0.8448 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.6147, allocations: 387.6 kB / 0.8451 GB, free: 312 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6149, allocations: 247.2 kB / 0.8454 GB, free: 92 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.6151, allocations: 155.7 kB / 0.8455 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6153, allocations: 382.1 kB / 0.8459 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.6157, allocations: 240.3 kB / 0.8461 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.6162, allocations: 360.6 kB / 0.8465 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.6172, allocations: 0.5785 MB / 0.847 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6172, allocations: 0 / 0.847 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001719/0.6189, allocations: 0.8057 MB / 0.8478 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6189, allocations: 4 kB / 0.8478 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.619, allocations: 12.17 kB / 0.8478 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.6196, allocations: 76.78 kB / 0.8479 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.6202, allocations: 159 kB / 0.848 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6221, allocations: 1.628 MB / 0.8496 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.6228, allocations: 83.59 kB / 0.8497 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.6228, allocations: 35.97 kB / 0.8497 GB, free: 11.59 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (88): * Single equations (assignments): 87 * 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.0003642/0.6232, allocations: 259.8 kB / 0.85 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.6233, allocations: 81.31 kB / 0.8501 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.6253, allocations: 0.9859 MB / 0.851 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6254, allocations: 8 kB / 0.851 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6254, allocations: 4 kB / 0.851 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6254, allocations: 7.922 kB / 0.8511 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.6284, allocations: 1.912 MB / 0.8529 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6284, allocations: 3.984 kB / 0.8529 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.6289, allocations: 143.8 kB / 0.8531 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/0.6294, allocations: 72.8 kB / 0.8531 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.6294, allocations: 19.98 kB / 0.8532 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.6311, allocations: 1.666 MB / 0.8548 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6312, allocations: 0 / 0.8548 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.6329, allocations: 0.9162 MB / 0.8557 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.6333, allocations: 251.8 kB / 0.8559 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6334, allocations: 20 kB / 0.8559 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.634, allocations: 51.94 kB / 0.856 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.6341, allocations: 60.92 kB / 0.856 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.6342, allocations: 35.97 kB / 0.8561 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005044/0.6347, allocations: 423.1 kB / 0.8565 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6347, allocations: 0 / 0.8565 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008317/0.6355, allocations: 307.1 kB / 0.8568 GB, free: 4.125 MB / 0.6231 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.001234/0.6368, allocations: 0.5888 MB / 0.8573 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.6383, allocations: 0.7731 MB / 0.8581 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6383, allocations: 3.938 kB / 0.8581 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.6391, allocations: 496.6 kB / 0.8586 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6403, allocations: 326.8 kB / 0.8589 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.6436, allocations: 1.702 MB / 0.8606 GB, free: 412 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.6441, allocations: 0.9955 MB / 0.8615 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6444, allocations: 115.4 kB / 0.8616 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.6444, allocations: 0 / 0.8616 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.02138/0.6658, allocations: 17.53 MB / 0.8788 GB, free: 13.75 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBodyFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1