Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008822/0.0008822, allocations: 91.53 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.001121/0.00112, allocations: 178.7 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.361/1.361, allocations: 223.2 MB / 240.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7442/0.7442, allocations: 132.3 MB / 424.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003656, allocations: 8.281 kB / 0.5046 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5313, allocations: 81.57 MB / 0.5843 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005056/0.5364, allocations: 3.792 MB / 0.588 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1903/0.7267, allocations: 146.6 MB / 0.7311 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009029/0.7277, allocations: 15.94 kB / 0.7311 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.7283, allocations: 142.9 kB / 0.7313 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.7298, allocations: 404.6 kB / 0.7317 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.7318, allocations: 0.7077 MB / 0.7324 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.7331, allocations: 1.12 MB / 0.7334 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009695/0.7341, allocations: 0.6136 MB / 0.734 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.7346, allocations: 314.4 kB / 0.7343 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.7351, allocations: 338 kB / 0.7347 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/0.7352, allocations: 20 kB / 0.7347 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.7361, allocations: 363.6 kB / 0.735 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.7364, allocations: 171.2 kB / 0.7352 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.7367, allocations: 423 kB / 0.7356 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.7379, allocations: 1.075 MB / 0.7367 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7379, allocations: 0 / 0.7367 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7379, allocations: 0 / 0.7367 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7379, allocations: 0 / 0.7367 GB, free: 3.801 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002023/0.74, allocations: 1.147 MB / 0.7378 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.74, allocations: 12.03 kB / 0.7378 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.7412, allocations: 243.4 kB / 0.738 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.7422, allocations: 0.7111 MB / 0.7387 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.7423, allocations: 62 kB / 0.7388 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.7424, allocations: 80 kB / 0.7388 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.744, allocations: 0.9248 MB / 0.7398 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.7441, allocations: 4 kB / 0.7398 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.7441, allocations: 36 kB / 0.7398 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.7442, allocations: 20 kB / 0.7398 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.746, allocations: 1.132 MB / 0.7409 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.75, allocations: 2.732 MB / 0.7436 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.7517, allocations: 0.8757 MB / 0.7444 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.7521, allocations: 286.3 kB / 0.7447 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.7522, allocations: 36.67 kB / 0.7447 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000766/0.753, allocations: 431.2 kB / 0.7452 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.234e-06/0.753, allocations: 0 / 0.7452 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002878/0.7559, allocations: 1.1 MB / 0.7462 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.756, allocations: 196.5 kB / 0.7464 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.7568, allocations: 0.5939 MB / 0.747 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.7569, allocations: 37.7 kB / 0.747 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.7572, allocations: 392.1 kB / 0.7474 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.7575, allocations: 248.4 kB / 0.7476 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.7576, allocations: 69.69 kB / 0.7477 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.7577, allocations: 382.7 kB / 0.7481 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.7582, allocations: 241.9 kB / 0.7483 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.7588, allocations: 357.7 kB / 0.7486 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7598, allocations: 0.5941 MB / 0.7492 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7598, allocations: 0 / 0.7492 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001714/0.7616, allocations: 0.802 MB / 0.75 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7616, allocations: 8 kB / 0.75 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7616, allocations: 3.984 kB / 0.75 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.7622, allocations: 96.89 kB / 0.7501 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.7628, allocations: 159.7 kB / 0.7503 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.7647, allocations: 1.512 MB / 0.7517 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.7653, allocations: 87.33 kB / 0.7518 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.7654, allocations: 39.97 kB / 0.7519 GB, free: 3.652 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: 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.0003922/0.7658, allocations: 253.8 kB / 0.7521 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7659, allocations: 83 kB / 0.7522 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.7681, allocations: 0.9988 MB / 0.7532 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.7681, allocations: 8 kB / 0.7532 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.7681, allocations: 0 / 0.7532 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.7681, allocations: 3.984 kB / 0.7532 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.7713, allocations: 1.938 MB / 0.7551 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7713, allocations: 3.938 kB / 0.7551 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.7719, allocations: 143.8 kB / 0.7552 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.7724, allocations: 88.77 kB / 0.7553 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.7725, allocations: 23.98 kB / 0.7553 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.7743, allocations: 1.544 MB / 0.7568 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7743, allocations: 0 / 0.7568 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.7761, allocations: 0.922 MB / 0.7577 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.7764, allocations: 275.7 kB / 0.758 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.7765, allocations: 16 kB / 0.758 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.7771, allocations: 75.81 kB / 0.7581 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7773, allocations: 64.91 kB / 0.7581 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.7773, allocations: 31.98 kB / 0.7582 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000565/0.7779, allocations: 427 kB / 0.7586 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7779, allocations: 0 / 0.7586 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008768/0.7788, allocations: 295.3 kB / 0.7589 GB, free: 12.22 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.001327/0.7801, allocations: 0.5874 MB / 0.7594 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.7817, allocations: 0.7805 MB / 0.7602 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7817, allocations: 4.375 kB / 0.7602 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/0.7825, allocations: 492.2 kB / 0.7607 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7838, allocations: 276.8 kB / 0.7609 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.7877, allocations: 2.177 MB / 0.7631 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.7883, allocations: 1.004 MB / 0.764 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.7886, allocations: 111.4 kB / 0.7641 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.7886, allocations: 0 / 0.7641 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of Templates: time 0.02213/0.8107, allocations: 17.24 MB / 0.781 GB, free: 5.762 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f IDEAS_IDEAS.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/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1