Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 102.3 kB / 15.71 MB, free: 460 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.0009/0.0009002, allocations: 174.5 kB / 16.58 MB, free: 6.141 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.58/2.58, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8485, allocations: 142.3 MB / 0.9544 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00202/0.8506, allocations: 1.445 MB / 0.9558 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.8517, allocations: 0.612 MB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.8517, allocations: 1.125 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.8518, allocations: 7.922 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.8518, allocations: 13.95 kB / 0.9564 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.8524, allocations: 154.9 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.8526, allocations: 105.7 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.8527, allocations: 32.16 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.8529, allocations: 51.38 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.853, allocations: 34.97 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.853, allocations: 4.375 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.8531, allocations: 45.3 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.8531, allocations: 21.91 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.8532, allocations: 39.83 kB / 0.9569 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.8533, allocations: 94.72 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8534, allocations: 0 / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8534, allocations: 0 / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8534, allocations: 0 / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005094/0.8539, allocations: 419.8 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8539, allocations: 9.5 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.8547, allocations: 151.4 kB / 0.9576 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8549, allocations: 177.9 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.855, allocations: 59.97 kB / 0.9578 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.855, allocations: 10.44 kB / 0.9578 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.8555, allocations: 189.8 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8556, allocations: 1.094 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.8556, allocations: 9.109 kB / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.8556, allocations: 1.031 kB / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.8562, allocations: 204.7 kB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.8572, allocations: 0.509 MB / 0.9587 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.8582, allocations: 265.4 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.8585, allocations: 99.31 kB / 0.959 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.8585, allocations: 1.688 kB / 0.959 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.8585, allocations: 39.84 kB / 0.9591 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.8585, allocations: 0 / 0.9591 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001004/0.8596, allocations: 314.6 kB / 0.9594 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.8596, allocations: 55.36 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8597, allocations: 135.1 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.8598, allocations: 27.08 kB / 0.9596 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.8598, allocations: 113.6 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.8599, allocations: 18.55 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.8599, allocations: 4 kB / 0.9597 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.86, allocations: 321.6 kB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.8602, allocations: 88.17 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.8605, allocations: 114.8 kB / 0.9602 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.8608, allocations: 92.17 kB / 0.9603 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8608, allocations: 0 / 0.9603 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006194/0.8614, allocations: 237.7 kB / 0.9605 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.8615, allocations: 4.688 kB / 0.9605 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8615, allocations: 5.094 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8615, allocations: 0.9688 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.8618, allocations: 46.38 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8618, allocations: 1.594 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.862, allocations: 44.45 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.862, allocations: 2.25 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/0.8621, allocations: 122.9 kB / 0.9607 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.8621, allocations: 7.375 kB / 0.9607 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.8629, allocations: 238.6 kB / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8629, allocations: 1.031 kB / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8629, allocations: 4.953 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8629, allocations: 0 / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.8631, allocations: 242.1 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8632, allocations: 0 / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.8634, allocations: 44.05 kB / 0.9612 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8634, allocations: 1.125 kB / 0.9612 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.8634, allocations: 9.016 kB / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.8634, allocations: 4 kB / 0.9613 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8634, allocations: 4.766 kB / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.8641, allocations: 321.9 kB / 0.9616 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.8641, allocations: 83.2 kB / 0.9616 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8641, allocations: 5.125 kB / 0.9617 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.8644, allocations: 48.17 kB / 0.9617 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.8645, allocations: 6.016 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.8645, allocations: 7.922 kB / 0.9617 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.8645, allocations: 108.2 kB / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8646, allocations: 0 / 0.9618 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002715/0.8648, allocations: 27.66 kB / 0.9618 GB, free: 2.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.865, allocations: 103.4 kB / 0.9619 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006436/0.8656, allocations: 195.5 kB / 0.9621 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8656, allocations: 1.156 kB / 0.9621 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.8659, allocations: 101.7 kB / 0.9622 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.8663, allocations: 15.58 kB / 0.9622 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.8669, allocations: 326.2 kB / 0.9626 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.8671, allocations: 0.695 MB / 0.9632 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.8672, allocations: 20.95 kB / 0.9633 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.8672, allocations: 0 / 0.9633 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.003448/0.8707, allocations: 1.592 MB / 0.9648 GB, free: 388 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1