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.007454/0.007454, allocations: 100.2 kB / 15.87 MB, free: 5.863 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.001697/0.001697, allocations: 190.6 kB / 16.79 MB, free: 5.805 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.551 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 1.019/1.019, allocations: 143 MB / 433.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1885, allocations: 82.03 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005846/0.1944, allocations: 4.207 MB / 0.5984 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5109/0.7053, allocations: 148.2 MB / 0.7431 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000919/0.7063, allocations: 19.5 kB / 0.7431 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.7069, allocations: 135.2 kB / 0.7432 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.7087, allocations: 407 kB / 0.7436 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.7109, allocations: 0.704 MB / 0.7443 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.7124, allocations: 1.13 MB / 0.7454 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/0.7133, allocations: 0.6193 MB / 0.746 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005863/0.7139, allocations: 386.8 kB / 0.7464 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.7144, allocations: 429.1 kB / 0.7468 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.7145, allocations: 51.75 kB / 0.7468 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008469/0.7153, allocations: 394 kB / 0.7472 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.7156, allocations: 221.2 kB / 0.7474 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.716, allocations: 462.8 kB / 0.7479 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.7173, allocations: 1.176 MB / 0.749 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.7173, allocations: 4 kB / 0.749 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7173, allocations: 0 / 0.749 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.7173, allocations: 3.938 kB / 0.749 GB, free: 14.73 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002436/0.7198, allocations: 1.347 MB / 0.7503 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7198, allocations: 9.906 kB / 0.7503 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7211, allocations: 221 kB / 0.7505 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.7221, allocations: 0.7114 MB / 0.7512 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.7221, allocations: 62 kB / 0.7513 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7223, allocations: 80 kB / 0.7514 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.7239, allocations: 0.9209 MB / 0.7523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.7239, allocations: 0.5625 kB / 0.7523 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.724, allocations: 43.98 kB / 0.7523 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.724, allocations: 20 kB / 0.7523 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.7259, allocations: 1.108 MB / 0.7534 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.73, allocations: 2.684 MB / 0.756 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7316, allocations: 0.86 MB / 0.7569 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.7321, allocations: 278.9 kB / 0.7571 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.768e-05/0.7322, allocations: 40.61 kB / 0.7572 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/0.733, allocations: 431.2 kB / 0.7576 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.244e-06/0.733, allocations: 0 / 0.7576 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002998/0.736, allocations: 1.085 MB / 0.7587 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7362, allocations: 188.6 kB / 0.7588 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.7369, allocations: 0.5939 MB / 0.7594 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.737, allocations: 41.7 kB / 0.7595 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.7373, allocations: 386.1 kB / 0.7598 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.7376, allocations: 252.4 kB / 0.7601 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.7378, allocations: 154.5 kB / 0.7602 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.738, allocations: 386.7 kB / 0.7606 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.7384, allocations: 241.9 kB / 0.7608 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.739, allocations: 356.8 kB / 0.7612 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7401, allocations: 0.5824 MB / 0.7617 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.7401, allocations: 4 kB / 0.7617 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001828/0.7419, allocations: 0.7941 MB / 0.7625 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7419, allocations: 4 kB / 0.7625 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.742, allocations: 4 kB / 0.7625 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.7426, allocations: 88.94 kB / 0.7626 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.7432, allocations: 159.7 kB / 0.7627 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.7455, allocations: 1.516 MB / 0.7642 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.7463, allocations: 84.17 kB / 0.7643 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.7464, allocations: 36.55 kB / 0.7643 GB, free: 14.84 MB / 0.5919 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.0005379/0.7469, allocations: 253.7 kB / 0.7646 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.7471, allocations: 79 kB / 0.7647 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.7493, allocations: 0.9915 MB / 0.7656 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7493, allocations: 12 kB / 0.7656 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7494, allocations: 2.5 kB / 0.7656 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7494, allocations: 4.547 kB / 0.7656 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.7526, allocations: 1.92 MB / 0.7675 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7526, allocations: 0 / 0.7675 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.7531, allocations: 147.7 kB / 0.7677 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.7537, allocations: 80.78 kB / 0.7677 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.7537, allocations: 19.98 kB / 0.7678 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.7556, allocations: 1.545 MB / 0.7693 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7556, allocations: 0 / 0.7693 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.7575, allocations: 0.9141 MB / 0.7702 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.7579, allocations: 255.8 kB / 0.7704 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.758, allocations: 23.91 kB / 0.7704 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.7586, allocations: 52.5 kB / 0.7705 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7588, allocations: 64.86 kB / 0.7705 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.7589, allocations: 30.98 kB / 0.7706 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005604/0.7594, allocations: 434.4 kB / 0.771 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7595, allocations: 0 / 0.771 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009446/0.7604, allocations: 307.2 kB / 0.7713 GB, free: 7.488 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.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.001411/0.7618, allocations: 0.5817 MB / 0.7718 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.7634, allocations: 0.7771 MB / 0.7726 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7634, allocations: 0 / 0.7726 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.7643, allocations: 484.3 kB / 0.7731 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7655, allocations: 292.6 kB / 0.7733 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.7698, allocations: 2.119 MB / 0.7754 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.7705, allocations: 1.007 MB / 0.7764 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.7708, allocations: 107.3 kB / 0.7765 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/0.7708, allocations: 0 / 0.7765 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.02579/0.7966, allocations: 17.44 MB / 0.7935 GB, free: 0.8906 MB / 0.6075 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++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.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