Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009116, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009311/0.0009311, allocations: 176 kB / 16.58 MB, free: 6.422 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.2 MB / 240.6 MB, free: 5.449 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.513/2.513, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9297, allocations: 142.3 MB / 0.9544 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00153/0.9313, allocations: 1.179 MB / 0.9556 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003329/0.9317, allocations: 139.7 kB / 0.9557 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.9317, allocations: 0 / 0.9557 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.9317, allocations: 0 / 0.9557 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.9318, allocations: 5.406 kB / 0.9557 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.932, allocations: 26.98 kB / 0.9557 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.443e-05/0.9321, allocations: 31.73 kB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.9322, allocations: 19.48 kB / 0.9558 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.9323, allocations: 12.59 kB / 0.9558 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.9324, allocations: 12.92 kB / 0.9558 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.9324, allocations: 5.062 kB / 0.9558 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.9325, allocations: 31 kB / 0.9558 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.9325, allocations: 10.08 kB / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.9325, allocations: 35.75 kB / 0.9559 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.9326, allocations: 38.72 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.9326, allocations: 1 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9326, allocations: 7.938 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.9327, allocations: 0 / 0.9559 GB, free: 7.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003684/0.933, allocations: 355.6 kB / 0.9563 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9331, allocations: 9.031 kB / 0.9563 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.9341, allocations: 248.3 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.9342, allocations: 165.6 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.9342, allocations: 6.438 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.9342, allocations: 2.062 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.9348, allocations: 219.1 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9348, allocations: 1.031 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.9348, allocations: 3.984 kB / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9348, allocations: 1 kB / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.9356, allocations: 320.9 kB / 0.9572 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.9364, allocations: 454.3 kB / 0.9576 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.9374, allocations: 342.6 kB / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.9377, allocations: 118.4 kB / 0.9581 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.9377, allocations: 4 kB / 0.9581 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.9378, allocations: 35.91 kB / 0.9581 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9378, allocations: 0 / 0.9581 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00107/0.9388, allocations: 368.7 kB / 0.9584 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.9389, allocations: 56.77 kB / 0.9585 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.939, allocations: 124.4 kB / 0.9586 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.939, allocations: 26.48 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.939, allocations: 90.39 kB / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.9391, allocations: 9.047 kB / 0.9587 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.9391, allocations: 0.875 kB / 0.9587 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.9391, allocations: 316 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.9395, allocations: 112.6 kB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.9398, allocations: 111.8 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.9401, allocations: 107.2 kB / 0.9594 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9401, allocations: 0 / 0.9594 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000655/0.9407, allocations: 269.9 kB / 0.9596 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9408, allocations: 5.094 kB / 0.9596 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9408, allocations: 0 / 0.9596 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9408, allocations: 0.75 kB / 0.9596 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.941, allocations: 39.58 kB / 0.9597 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.941, allocations: 7.938 kB / 0.9597 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.9412, allocations: 35.33 kB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.9412, allocations: 5.359 kB / 0.9597 GB, free: 4.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.652e-05/0.9413, allocations: 118 kB / 0.9598 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.9413, allocations: 10.61 kB / 0.9598 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.9414, allocations: 18.64 kB / 0.9598 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9414, allocations: 0 / 0.9598 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9414, allocations: 1.375 kB / 0.9598 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9414, allocations: 0 / 0.9598 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.9416, allocations: 209 kB / 0.96 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9416, allocations: 0 / 0.96 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.9418, allocations: 47.41 kB / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9418, allocations: 0 / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.9418, allocations: 5.359 kB / 0.9601 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9419, allocations: 3.938 kB / 0.9601 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9419, allocations: 1.375 kB / 0.9601 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.9426, allocations: 343.7 kB / 0.9604 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.9426, allocations: 82.17 kB / 0.9605 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.9426, allocations: 5.078 kB / 0.9605 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.9429, allocations: 42.83 kB / 0.9606 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.9429, allocations: 9.172 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.9429, allocations: 1.219 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.943, allocations: 93.58 kB / 0.9607 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.943, allocations: 0 / 0.9607 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002293/0.9432, allocations: 11.91 kB / 0.9607 GB, free: 3.559 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 (3): * Single equations (assignments): 3 * 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.0001051/0.9433, allocations: 94.91 kB / 0.9608 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007086/0.944, allocations: 240.3 kB / 0.961 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.944, allocations: 0 / 0.961 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.9444, allocations: 119.9 kB / 0.9611 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.9446, allocations: 2.281 kB / 0.9611 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.9455, allocations: 318.8 kB / 0.9614 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.9457, allocations: 0.6882 MB / 0.9621 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.9457, allocations: 14.23 kB / 0.9621 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.9457, allocations: 0 / 0.9621 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.002735/0.9485, allocations: 1.165 MB / 0.9632 GB, free: 1.777 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMinCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1