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.001041/0.001041, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.507/1.507, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 267.1 kB / 292.3 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005043, allocations: 10.59 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006301/0.214, allocations: 4.015 MB / 0.6897 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7229/0.9369, allocations: 146.7 MB / 0.8329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.9378, allocations: 18.88 kB / 0.8329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.9384, allocations: 137.3 kB / 0.8331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.9398, allocations: 439 kB / 0.8335 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.9418, allocations: 0.7274 MB / 0.8342 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.9433, allocations: 1.238 MB / 0.8354 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.9443, allocations: 0.6198 MB / 0.836 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.9449, allocations: 350.2 kB / 0.8363 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.9454, allocations: 397.2 kB / 0.8367 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.9455, allocations: 27.56 kB / 0.8368 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.9463, allocations: 368.5 kB / 0.8371 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.9466, allocations: 197.6 kB / 0.8373 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.947, allocations: 462 kB / 0.8377 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.9482, allocations: 1.18 MB / 0.8389 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9482, allocations: 0 / 0.8389 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9482, allocations: 0 / 0.8389 GB, free: 9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.9482, allocations: 0 / 0.8389 GB, free: 9 MB / 0.5606 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.002279/0.9505, allocations: 1.232 MB / 0.8401 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.9505, allocations: 9.188 kB / 0.8401 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.9517, allocations: 255.1 kB / 0.8403 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.9529, allocations: 0.7439 MB / 0.8411 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.953, allocations: 66.84 kB / 0.8411 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.9531, allocations: 83.78 kB / 0.8412 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.9551, allocations: 0.9934 MB / 0.8422 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.9552, allocations: 4 kB / 0.8422 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.9553, allocations: 40.81 kB / 0.8422 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.9553, allocations: 22.72 kB / 0.8422 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.9574, allocations: 1.178 MB / 0.8434 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.9622, allocations: 2.858 MB / 0.8462 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.9641, allocations: 0.9664 MB / 0.8471 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.9647, allocations: 323 kB / 0.8474 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.598e-05/0.9648, allocations: 29.78 kB / 0.8475 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009551/0.9657, allocations: 0.5025 MB / 0.848 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 3.316e-06/0.9658, allocations: 4 kB / 0.848 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.003493/0.9693, allocations: 1.242 MB / 0.8492 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.9694, allocations: 193 kB / 0.8494 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.9703, allocations: 0.6304 MB / 0.85 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.9704, allocations: 43.52 kB / 0.85 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.9708, allocations: 409.7 kB / 0.8504 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.9711, allocations: 273 kB / 0.8507 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.9712, allocations: 74.3 kB / 0.8507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.9715, allocations: 386.7 kB / 0.8511 GB, free: 424 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.9721, allocations: 277.8 kB / 0.8514 GB, free: 288 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.9727, allocations: 396.8 kB / 0.8517 GB, free: 44 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9739, allocations: 0.6436 MB / 0.8524 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.974, allocations: 0 / 0.8524 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001943/0.9759, allocations: 0.8981 MB / 0.8533 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.9759, allocations: 5.75 kB / 0.8533 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9759, allocations: 0 / 0.8533 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.9765, allocations: 83.73 kB / 0.8533 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9772, allocations: 173.3 kB / 0.8535 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.9793, allocations: 1.524 MB / 0.855 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.9801, allocations: 108.9 kB / 0.8551 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.9802, allocations: 40.66 kB / 0.8551 GB, free: 13.57 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.0005043/0.9807, allocations: 272.1 kB / 0.8554 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.9808, allocations: 88.27 kB / 0.8555 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9832, allocations: 1.096 MB / 0.8566 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9832, allocations: 11.97 kB / 0.8566 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.9832, allocations: 7.312 kB / 0.8566 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/0.9833, allocations: 11.97 kB / 0.8566 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.987, allocations: 2.095 MB / 0.8586 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9871, allocations: 0 / 0.8586 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.9877, allocations: 155.5 kB / 0.8588 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.9882, allocations: 83.17 kB / 0.8589 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.9883, allocations: 28.89 kB / 0.8589 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.9903, allocations: 1.537 MB / 0.8604 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.9903, allocations: 7.922 kB / 0.8604 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.9924, allocations: 1.019 MB / 0.8614 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.9928, allocations: 287.9 kB / 0.8617 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.993, allocations: 21.69 kB / 0.8617 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/0.9936, allocations: 78.84 kB / 0.8618 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.9938, allocations: 69.59 kB / 0.8618 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.9939, allocations: 40.59 kB / 0.8619 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006844/0.9946, allocations: 456 kB / 0.8623 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9946, allocations: 0 / 0.8623 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001306/0.9959, allocations: 323.1 kB / 0.8626 GB, free: 8.395 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.001657/0.9976, allocations: 0.6004 MB / 0.8632 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.9993, allocations: 0.86 MB / 0.864 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9994, allocations: 0 / 0.864 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/1, allocations: 0.5296 MB / 0.8645 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.002, allocations: 292.5 kB / 0.8648 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/1.006, allocations: 2.313 MB / 0.8671 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.007, allocations: 1.028 MB / 0.8681 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/1.007, allocations: 119.4 kB / 0.8682 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/1.007, allocations: 0 / 0.8682 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of Templates: time 0.02639/1.033, allocations: 18.6 MB / 0.8864 GB, free: 1.711 MB / 0.5919 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