Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 98.88 kB / 16.02 MB, free: 76 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.00154/0.00154, allocations: 183.3 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.931/1.931, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007957/0.0007958, allocations: 24.11 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3231, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001868/0.3251, allocations: 1.156 MB / 0.7897 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.3261, allocations: 0.5017 MB / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3261, allocations: 0 / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.3261, allocations: 0 / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.3262, allocations: 4 kB / 0.7902 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.3264, allocations: 15.92 kB / 0.7902 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.3265, allocations: 23.94 kB / 0.7902 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3266, allocations: 7.969 kB / 0.7902 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.3267, allocations: 7.938 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.3268, allocations: 19.92 kB / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3268, allocations: 0 / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.3269, allocations: 19.98 kB / 0.7903 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3269, allocations: 0 / 0.7903 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.3269, allocations: 37.62 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.327, allocations: 23.95 kB / 0.7903 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.327, allocations: 0 / 0.7903 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.327, allocations: 0 / 0.7903 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.3271, allocations: 0 / 0.7903 GB, free: 9.762 MB / 0.6075 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.0004823/0.3275, allocations: 355.7 kB / 0.7907 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3276, allocations: 11.97 kB / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3276, allocations: 0.9375 kB / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3278, allocations: 164.4 kB / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3278, allocations: 384 / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.3278, allocations: 384 / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.328, allocations: 61.98 kB / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.328, allocations: 0 / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.328, allocations: 0 / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3281, allocations: 4 kB / 0.7909 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3282, allocations: 47.95 kB / 0.7909 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3286, allocations: 256.8 kB / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3288, allocations: 42.55 kB / 0.7912 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.3289, allocations: 32.91 kB / 0.7912 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.329, allocations: 81.11 kB / 0.7913 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3291, allocations: 30.56 kB / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.978e-06/0.3291, allocations: 0 / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003835/0.3295, allocations: 109.5 kB / 0.7915 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3295, allocations: 51.41 kB / 0.7915 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3296, allocations: 101.8 kB / 0.7916 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3296, allocations: 29.7 kB / 0.7916 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.3297, allocations: 80.14 kB / 0.7917 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3297, allocations: 7.844 kB / 0.7917 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.3297, allocations: 13.84 kB / 0.7917 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3299, allocations: 322.8 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.33, allocations: 15.98 kB / 0.7921 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/0.33, allocations: 23.98 kB / 0.7921 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3302, allocations: 56.81 kB / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3302, allocations: 0 / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.3304, allocations: 77.61 kB / 0.7922 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3305, allocations: 4 kB / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3305, allocations: 4 kB / 0.7922 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3305, allocations: 3.984 kB / 0.7922 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3306, allocations: 8 kB / 0.7922 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3306, allocations: 0 / 0.7922 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3306, allocations: 12.27 kB / 0.7922 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3307, allocations: 12 kB / 0.7922 GB, free: 7.539 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.3308, allocations: 109.8 kB / 0.7924 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3308, allocations: 11.89 kB / 0.7924 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.331, allocations: 88.72 kB / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3311, allocations: 0 / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3311, allocations: 3.984 kB / 0.7925 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3311, allocations: 0 / 0.7925 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3312, allocations: 161.5 kB / 0.7926 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3312, allocations: 0 / 0.7926 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.3313, allocations: 11.98 kB / 0.7926 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3313, allocations: 0 / 0.7926 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3313, allocations: 4.031 kB / 0.7926 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3313, allocations: 4 kB / 0.7926 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3313, allocations: 0 / 0.7926 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3316, allocations: 175.5 kB / 0.7928 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.3317, allocations: 81.11 kB / 0.7929 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3317, allocations: 3.938 kB / 0.7929 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.3318, allocations: 7.984 kB / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3318, allocations: 7.938 kB / 0.7929 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.3318, allocations: 0 / 0.7929 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.3319, allocations: 87.27 kB / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.3321, allocations: 4 kB / 0.793 GB, free: 6.691 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.3323, allocations: 107.3 kB / 0.7931 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3325, allocations: 47.95 kB / 0.7931 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3325, allocations: 0 / 0.7931 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.3326, allocations: 28.05 kB / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.333, allocations: 7.938 kB / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.3333, allocations: 146.2 kB / 0.7933 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3337, allocations: 0.6771 MB / 0.794 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3337, allocations: 11.44 kB / 0.794 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.3337, allocations: 0 / 0.794 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.002185/0.3359, allocations: 0.6424 MB / 0.7946 GB, free: 4.965 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1