Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008154, allocations: 102.6 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.0008506/0.0008507, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 12 kB / 0.8717 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8614, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001561/0.863, allocations: 1.161 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.8634, allocations: 180.3 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.8634, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.8634, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.8635, allocations: 7.938 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.8637, allocations: 27.91 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.8638, allocations: 23.94 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.8638, allocations: 7.969 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.8639, allocations: 7.938 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.8639, allocations: 11.98 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.864, allocations: 3.938 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.864, allocations: 31.97 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.8641, allocations: 3.938 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.8641, allocations: 29.7 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.8642, allocations: 27.94 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8642, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8642, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.8642, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004075/0.8646, allocations: 345.3 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.8647, allocations: 15.98 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.8647, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.8648, allocations: 167 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.8649, allocations: 3.984 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.8649, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.865, allocations: 53.64 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.8651, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.8651, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.8651, allocations: 7.922 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.8653, allocations: 47.97 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.8656, allocations: 252.8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.8657, allocations: 42.56 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.8658, allocations: 28.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.963e-05/0.8659, allocations: 81.09 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.8659, allocations: 38.5 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/0.866, allocations: 3.984 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003305/0.8663, allocations: 97.64 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.8663, allocations: 51.41 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.8664, allocations: 105.9 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.8664, allocations: 29.83 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.8665, allocations: 84.14 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.8665, allocations: 11.89 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.8665, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8667, allocations: 314.8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.8668, allocations: 23.92 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.8668, allocations: 23.98 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.8669, allocations: 31.91 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8669, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.8671, allocations: 81.62 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8672, allocations: 4 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.8672, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.8672, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.8673, allocations: 15.98 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8673, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.8673, allocations: 12.02 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.8674, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.229e-05/0.8675, allocations: 113.8 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.8675, allocations: 7.859 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.8677, allocations: 84.72 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.8677, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8678, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8678, allocations: 7.984 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.8679, allocations: 157.7 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8679, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.868, allocations: 11.98 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.868, allocations: 3.953 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.868, allocations: 4.031 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.868, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.868, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.8683, allocations: 175.5 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.8683, allocations: 81.11 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8683, allocations: 3.953 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.8684, allocations: 11.98 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.8684, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.8684, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.8685, allocations: 83.27 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8685, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002227/0.8687, allocations: 20.03 kB / 1.026 GB, free: 12.56 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001757/0.8689, allocations: 99.25 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.8691, allocations: 51.89 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8691, allocations: 4.062 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.8692, allocations: 23.92 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.8694, allocations: 8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.8697, allocations: 134.3 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.87, allocations: 0.6814 MB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.87, allocations: 7.438 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.87, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.001868/0.8719, allocations: 0.6622 MB / 1.027 GB, free: 10.83 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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_latest_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o] Error 1