Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009376/0.0009376, allocations: 102.7 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.001082/0.001082, allocations: 173.8 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.048/1.048, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.000505, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002635/0.2201, allocations: 1.453 MB / 0.5995 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2216, allocations: 0.6091 MB / 0.6001 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.2217, allocations: 3.938 kB / 0.6001 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.2218, allocations: 7.922 kB / 0.6001 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.2219, allocations: 11.88 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.2226, allocations: 147.2 kB / 0.6002 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.2228, allocations: 107.6 kB / 0.6003 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.223, allocations: 33.3 kB / 0.6004 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2232, allocations: 51.83 kB / 0.6004 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2233, allocations: 39.77 kB / 0.6005 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2234, allocations: 4 kB / 0.6005 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2235, allocations: 35.97 kB / 0.6005 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.2235, allocations: 23.91 kB / 0.6005 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.2236, allocations: 37.64 kB / 0.6005 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2238, allocations: 100 kB / 0.6006 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.2238, allocations: 4 kB / 0.6006 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.998e-06/0.2238, allocations: 3.984 kB / 0.6007 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2238, allocations: 4 kB / 0.6007 GB, free: 5.125 MB / 0.4981 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.0006849/0.2245, allocations: 411 kB / 0.601 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.2246, allocations: 8.031 kB / 0.6011 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.2254, allocations: 147.6 kB / 0.6012 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2256, allocations: 182.8 kB / 0.6014 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2257, allocations: 67.39 kB / 0.6014 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2257, allocations: 8 kB / 0.6014 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.2262, allocations: 191.8 kB / 0.6016 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2262, allocations: 0 / 0.6016 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2263, allocations: 4 kB / 0.6016 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2263, allocations: 8 kB / 0.6016 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.2269, allocations: 195.8 kB / 0.6018 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.228, allocations: 0.4977 MB / 0.6023 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.2289, allocations: 270.3 kB / 0.6026 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.2292, allocations: 100.9 kB / 0.6027 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.2292, allocations: 7.984 kB / 0.6027 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2293, allocations: 38.56 kB / 0.6027 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2293, allocations: 0 / 0.6027 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009335/0.2302, allocations: 305.5 kB / 0.603 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2303, allocations: 55.39 kB / 0.6031 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2304, allocations: 144.1 kB / 0.6032 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2304, allocations: 25.7 kB / 0.6032 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.2305, allocations: 116.1 kB / 0.6033 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2306, allocations: 19.75 kB / 0.6033 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.2306, allocations: 4 kB / 0.6033 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2307, allocations: 318.8 kB / 0.6037 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.231, allocations: 87.92 kB / 0.6037 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.2313, allocations: 122.4 kB / 0.6039 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2316, allocations: 87.94 kB / 0.6039 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2316, allocations: 0 / 0.6039 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006055/0.2322, allocations: 237.4 kB / 0.6042 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2322, allocations: 12.06 kB / 0.6042 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2322, allocations: 0 / 0.6042 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2323, allocations: 3.984 kB / 0.6042 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.2325, allocations: 43.95 kB / 0.6042 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2325, allocations: 3.938 kB / 0.6042 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.2327, allocations: 35.88 kB / 0.6043 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2328, allocations: 7.953 kB / 0.6043 GB, free: 1.188 MB / 0.4981 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 0.0001326/0.2329, allocations: 121.8 kB / 0.6044 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.2329, allocations: 7.906 kB / 0.6044 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.2336, allocations: 238.2 kB / 0.6046 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2337, allocations: 4 kB / 0.6046 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2337, allocations: 0 / 0.6046 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2337, allocations: 0 / 0.6046 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.234, allocations: 238.3 kB / 0.6048 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.234, allocations: 7.938 kB / 0.6049 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2342, allocations: 39.95 kB / 0.6049 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2342, allocations: 0 / 0.6049 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2342, allocations: 4.375 kB / 0.6049 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2342, allocations: 0 / 0.6049 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2342, allocations: 0 / 0.6049 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.2349, allocations: 327.2 kB / 0.6052 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.235, allocations: 85.02 kB / 0.6053 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.235, allocations: 0 / 0.6053 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3919/0.6269, allocations: 43.28 kB / 0.6053 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.6271, allocations: 7.781 kB / 0.6053 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.6271, allocations: 6.828 kB / 0.6053 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.726e-05/0.6272, allocations: 103.8 kB / 0.6054 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6272, allocations: 3.562 kB / 0.6054 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003556/0.6276, allocations: 25.58 kB / 0.6055 GB, free: 40.82 MB / 0.4981 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.0001422/0.6277, allocations: 98.28 kB / 0.6056 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.6284, allocations: 202.3 kB / 0.6058 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6284, allocations: 0.75 kB / 0.6058 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.6287, allocations: 99.97 kB / 0.6059 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.629, allocations: 6.875 kB / 0.6059 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.6297, allocations: 333.5 kB / 0.6062 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.6298, allocations: 0.7002 MB / 0.6069 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.6299, allocations: 21.16 kB / 0.6069 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.6299, allocations: 0 / 0.6069 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002936/0.6328, allocations: 1.587 MB / 0.6084 GB, free: 39.8 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1