Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009171/0.00917, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001818/0.001818, allocations: 192.1 kB / 16.79 MB, free: 5.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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 278.6 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.2 MB / 0.4984 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 86.02 kB / 0.5951 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2634, allocations: 86.98 MB / 0.6801 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006555/0.27, allocations: 4.431 MB / 0.6844 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6505/0.9205, allocations: 148.3 MB / 0.8292 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.9217, allocations: 20.16 kB / 0.8292 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.9224, allocations: 140.9 kB / 0.8293 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.9241, allocations: 443.2 kB / 0.8298 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.9262, allocations: 0.7289 MB / 0.8305 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.9277, allocations: 1.246 MB / 0.8317 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009855/0.9287, allocations: 0.6243 MB / 0.8323 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.9294, allocations: 428 kB / 0.8327 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.93, allocations: 475.8 kB / 0.8332 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.9301, allocations: 57.34 kB / 0.8332 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.9312, allocations: 399.3 kB / 0.8336 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.9315, allocations: 243.6 kB / 0.8338 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.9321, allocations: 0.4942 MB / 0.8343 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.9335, allocations: 1.196 MB / 0.8355 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9335, allocations: 1.312 kB / 0.8355 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9335, allocations: 0 / 0.8355 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.9335, allocations: 0 / 0.8355 GB, free: 15.98 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002964/0.9365, allocations: 1.446 MB / 0.8369 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9366, allocations: 9.875 kB / 0.8369 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.9378, allocations: 236 kB / 0.8371 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.939, allocations: 0.7472 MB / 0.8379 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.9391, allocations: 69.47 kB / 0.8379 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.9392, allocations: 86.7 kB / 0.838 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.9411, allocations: 0.9811 MB / 0.839 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.9412, allocations: 1.219 kB / 0.839 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.9413, allocations: 36.06 kB / 0.839 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.9413, allocations: 21.56 kB / 0.839 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.9434, allocations: 1.176 MB / 0.8402 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.9478, allocations: 2.818 MB / 0.8429 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.9496, allocations: 0.9477 MB / 0.8439 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.9502, allocations: 312.3 kB / 0.8442 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.2e-05/0.9503, allocations: 32.14 kB / 0.8442 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009776/0.9513, allocations: 0.4958 MB / 0.8447 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.405e-06/0.9513, allocations: 0 / 0.8447 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003362/0.9547, allocations: 1.222 MB / 0.8459 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.9548, allocations: 193.6 kB / 0.846 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/0.9558, allocations: 0.6413 MB / 0.8467 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.9559, allocations: 42.83 kB / 0.8467 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.9562, allocations: 412.7 kB / 0.8471 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.9565, allocations: 261.8 kB / 0.8474 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.9568, allocations: 170.6 kB / 0.8475 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.957, allocations: 394.9 kB / 0.8479 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.9576, allocations: 269.3 kB / 0.8482 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.9583, allocations: 388.3 kB / 0.8485 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.9594, allocations: 0.6396 MB / 0.8491 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9594, allocations: 4 kB / 0.8492 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002042/0.9615, allocations: 0.8881 MB / 0.85 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9615, allocations: 7.375 kB / 0.85 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9615, allocations: 3.984 kB / 0.85 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.9621, allocations: 82.38 kB / 0.8501 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.9628, allocations: 171.6 kB / 0.8503 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.9649, allocations: 1.518 MB / 0.8518 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.9658, allocations: 93.36 kB / 0.8518 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.9659, allocations: 40.78 kB / 0.8519 GB, free: 6.262 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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.0005961/0.9665, allocations: 279.1 kB / 0.8522 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.9667, allocations: 83.78 kB / 0.8522 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.9691, allocations: 1.088 MB / 0.8533 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.9691, allocations: 14.36 kB / 0.8533 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9691, allocations: 3.938 kB / 0.8533 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.9692, allocations: 10.42 kB / 0.8533 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.9728, allocations: 2.085 MB / 0.8554 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.9728, allocations: 0 / 0.8554 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.9734, allocations: 151.5 kB / 0.8555 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.9739, allocations: 86.12 kB / 0.8556 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.974, allocations: 22.8 kB / 0.8556 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.9759, allocations: 1.545 MB / 0.8571 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.9759, allocations: 4.562 kB / 0.8571 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.9781, allocations: 1 MB / 0.8581 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.9785, allocations: 279.8 kB / 0.8584 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.9786, allocations: 17.03 kB / 0.8584 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.9793, allocations: 68.22 kB / 0.8584 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.9795, allocations: 70.83 kB / 0.8585 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.9796, allocations: 41.06 kB / 0.8586 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006442/0.9802, allocations: 457 kB / 0.859 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9802, allocations: 0 / 0.859 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001071/0.9813, allocations: 321 kB / 0.8593 GB, free: 1.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001518/0.9828, allocations: 0.6115 MB / 0.8599 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.9847, allocations: 0.8508 MB / 0.8607 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9847, allocations: 0 / 0.8607 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/0.9856, allocations: 0.5207 MB / 0.8612 GB, free: 112 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.9869, allocations: 285.8 kB / 0.8615 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.9914, allocations: 2.259 MB / 0.8637 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.9921, allocations: 1.034 MB / 0.8647 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.9924, allocations: 113.3 kB / 0.8648 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.9924, allocations: 3.938 kB / 0.8648 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.02811/1.021, allocations: 18.72 MB / 0.8831 GB, free: 15 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile clang++ -std=c++14 NOTFOUND -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1