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.001346/0.001346, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001376/0.001376, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.7974/0.7974, allocations: 143 MB / 434.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 82.02 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004314/0.2976, allocations: 4.186 MB / 0.599 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1408/0.4384, allocations: 150.5 MB / 0.746 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000692/0.4391, allocations: 19.88 kB / 0.746 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.4398, allocations: 162.5 kB / 0.7462 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.4415, allocations: 497.6 kB / 0.7466 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.4434, allocations: 0.7901 MB / 0.7474 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.4448, allocations: 1.21 MB / 0.7486 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.4456, allocations: 0.6451 MB / 0.7492 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.4462, allocations: 438.4 kB / 0.7496 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.4467, allocations: 465.9 kB / 0.7501 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.4468, allocations: 104 kB / 0.7502 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.4477, allocations: 439.6 kB / 0.7506 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.2875/0.7352, allocations: 280.2 kB / 0.7509 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.7359, allocations: 0.4962 MB / 0.7514 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.7378, allocations: 1.534 MB / 0.7529 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7378, allocations: 0.5 kB / 0.7529 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7378, allocations: 0.6562 kB / 0.7529 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.7378, allocations: 4.438 kB / 0.7529 GB, free: 3.629 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.001918/0.7398, allocations: 1.35 MB / 0.7542 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.7398, allocations: 10.59 kB / 0.7542 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7409, allocations: 224.3 kB / 0.7544 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.7417, allocations: 0.7081 MB / 0.7551 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.7418, allocations: 64.03 kB / 0.7552 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.7419, allocations: 82.8 kB / 0.7552 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.7432, allocations: 0.9229 MB / 0.7561 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7433, allocations: 1.094 kB / 0.7561 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.7433, allocations: 36.81 kB / 0.7562 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.7434, allocations: 22.03 kB / 0.7562 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.7451, allocations: 1.113 MB / 0.7573 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.7484, allocations: 2.682 MB / 0.7599 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.7499, allocations: 0.8529 MB / 0.7607 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.7504, allocations: 282.3 kB / 0.761 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.7505, allocations: 28.62 kB / 0.761 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007425/0.7512, allocations: 437.4 kB / 0.7614 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 2.425e-06/0.7512, allocations: 0 / 0.7614 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.002882/0.7541, allocations: 1.084 MB / 0.7625 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.7542, allocations: 194.8 kB / 0.7627 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.7549, allocations: 0.597 MB / 0.7633 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.755, allocations: 40.7 kB / 0.7633 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.7552, allocations: 390.6 kB / 0.7637 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.7554, allocations: 242 kB / 0.7639 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.7556, allocations: 159.1 kB / 0.7641 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7558, allocations: 387 kB / 0.7644 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.7563, allocations: 241.2 kB / 0.7647 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.7569, allocations: 348.3 kB / 0.765 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.7578, allocations: 0.5876 MB / 0.7656 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7578, allocations: 0 / 0.7656 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001578/0.7594, allocations: 0.7988 MB / 0.7663 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7594, allocations: 9.375 kB / 0.7664 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7594, allocations: 2.438 kB / 0.7664 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.76, allocations: 81.27 kB / 0.7664 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.7605, allocations: 157.5 kB / 0.7666 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.7623, allocations: 1.634 MB / 0.7682 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.7629, allocations: 79.75 kB / 0.7683 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.763, allocations: 38.52 kB / 0.7683 GB, free: 14.23 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.0003358/0.7634, allocations: 254.2 kB / 0.7685 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7635, allocations: 80.03 kB / 0.7686 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.7656, allocations: 0.9836 MB / 0.7696 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7656, allocations: 9.703 kB / 0.7696 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.7656, allocations: 0.6562 kB / 0.7696 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.7657, allocations: 5.531 kB / 0.7696 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.7683, allocations: 1.921 MB / 0.7715 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7683, allocations: 1.047 kB / 0.7715 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.7689, allocations: 146.6 kB / 0.7716 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.7693, allocations: 73.33 kB / 0.7717 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.7693, allocations: 24.84 kB / 0.7717 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.7709, allocations: 1.661 MB / 0.7733 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.7709, allocations: 8.625 kB / 0.7733 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.7725, allocations: 0.909 MB / 0.7742 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.7728, allocations: 256.7 kB / 0.7745 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7729, allocations: 17.06 kB / 0.7745 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.7735, allocations: 54.86 kB / 0.7745 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7736, allocations: 59.45 kB / 0.7746 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.7736, allocations: 33.7 kB / 0.7746 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004073/0.7741, allocations: 427.5 kB / 0.775 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7741, allocations: 0 / 0.775 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007806/0.7749, allocations: 297.1 kB / 0.7753 GB, free: 11.64 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.001211/0.7761, allocations: 0.5986 MB / 0.7759 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.7779, allocations: 0.9629 MB / 0.7768 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7779, allocations: 2.562 kB / 0.7768 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.7787, allocations: 0.4884 MB / 0.7773 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.7799, allocations: 319.7 kB / 0.7776 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.7831, allocations: 1.731 MB / 0.7793 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.7836, allocations: 1.005 MB / 0.7803 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.7838, allocations: 112 kB / 0.7804 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.7838, allocations: 0 / 0.7804 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.01902/0.8029, allocations: 17.44 MB / 0.7974 GB, free: 6.133 MB / 0.5919 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