Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007495/0.0007492, allocations: 96.14 kB / 16.03 MB, free: 68 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.0007998/0.0007999, allocations: 183.8 kB / 16.92 MB, free: 6.906 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.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6968/0.6968, allocations: 132.3 MB / 424.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8.812 kB / 0.5046 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4119, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001442/0.4134, allocations: 1.156 MB / 0.5854 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.4142, allocations: 461.3 kB / 0.5859 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.4143, allocations: 3.938 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.4143, allocations: 1.078 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.4144, allocations: 2.859 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4146, allocations: 21.91 kB / 0.5859 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.4146, allocations: 28.94 kB / 0.5859 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.4147, allocations: 4.25 kB / 0.5859 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.4148, allocations: 13.69 kB / 0.5859 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.4149, allocations: 14.09 kB / 0.586 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4149, allocations: 0.8438 kB / 0.586 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.415, allocations: 18.19 kB / 0.586 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.415, allocations: 5.297 kB / 0.586 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.4151, allocations: 32.86 kB / 0.586 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.4152, allocations: 23.06 kB / 0.586 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4152, allocations: 0 / 0.586 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4152, allocations: 1.094 kB / 0.586 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.4152, allocations: 3.938 kB / 0.586 GB, free: 2.773 MB / 430.1 MB 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.0004368/0.4157, allocations: 342.8 kB / 0.5864 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4157, allocations: 13.59 kB / 0.5864 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.4158, allocations: 2 kB / 0.5864 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4159, allocations: 175.7 kB / 0.5865 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4159, allocations: 2.516 kB / 0.5865 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4159, allocations: 384 / 0.5865 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.4161, allocations: 62.48 kB / 0.5866 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.4162, allocations: 0 / 0.5866 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4162, allocations: 0 / 0.5866 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4162, allocations: 1.609 kB / 0.5866 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.4164, allocations: 42.36 kB / 0.5866 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.4168, allocations: 255.8 kB / 0.5869 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.417, allocations: 45.42 kB / 0.5869 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4171, allocations: 41.45 kB / 0.587 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.4172, allocations: 81.95 kB / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.4173, allocations: 32.25 kB / 0.5871 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.4173, allocations: 0 / 0.5871 GB, free: 1.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004537/0.4177, allocations: 103.1 kB / 0.5872 GB, free: 1.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.4178, allocations: 53.06 kB / 0.5872 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.4179, allocations: 102.2 kB / 0.5873 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.4179, allocations: 25.7 kB / 0.5874 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.4179, allocations: 82.39 kB / 0.5874 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.418, allocations: 9.75 kB / 0.5874 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.418, allocations: 14.78 kB / 0.5875 GB, free: 1.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.4181, allocations: 313.2 kB / 0.5878 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4182, allocations: 22.47 kB / 0.5878 GB, free: 1.023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4183, allocations: 19.83 kB / 0.5878 GB, free: 1.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.4185, allocations: 55.05 kB / 0.5878 GB, free: 1.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4185, allocations: 0 / 0.5878 GB, free: 1.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002652/0.4188, allocations: 86.25 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4188, allocations: 4.438 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4189, allocations: 0.9062 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4189, allocations: 0.6562 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.419, allocations: 12.02 kB / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.419, allocations: 0 / 0.5879 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.4191, allocations: 17.2 kB / 0.588 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4191, allocations: 0.7188 kB / 0.588 GB, free: 0.9492 MB / 430.1 MB 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 6.655e-05/0.4192, allocations: 112.4 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.4192, allocations: 1.547 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.4195, allocations: 89.19 kB / 0.5882 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4195, allocations: 0.9688 kB / 0.5882 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4195, allocations: 5.547 kB / 0.5882 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4196, allocations: 0 / 0.5882 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4197, allocations: 160.4 kB / 0.5883 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4197, allocations: 0 / 0.5883 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.4198, allocations: 11.72 kB / 0.5883 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4198, allocations: 0.625 kB / 0.5883 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4198, allocations: 5.734 kB / 0.5883 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4199, allocations: 3.938 kB / 0.5883 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4199, allocations: 0.9688 kB / 0.5883 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4202, allocations: 176.5 kB / 0.5885 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4202, allocations: 83.44 kB / 0.5886 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4202, allocations: 0.5156 kB / 0.5886 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.4203, allocations: 8.547 kB / 0.5886 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.4204, allocations: 3.078 kB / 0.5886 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4204, allocations: 8.656 kB / 0.5886 GB, free: 332 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.4205, allocations: 85.05 kB / 0.5887 GB, free: 252 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4205, allocations: 0 / 0.5887 GB, free: 252 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000339/0.4208, allocations: 14.47 kB / 0.5887 GB, free: 244 kB / 430.1 MB 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.0001769/0.421, allocations: 97.64 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4213, allocations: 45.39 kB / 0.5888 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4213, allocations: 4.062 kB / 0.5888 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4215, allocations: 25.64 kB / 0.5889 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.4219, allocations: 12.12 kB / 0.5889 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.4223, allocations: 145.2 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4226, allocations: 0.6815 MB / 0.5897 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4226, allocations: 9.141 kB / 0.5897 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4226, allocations: 0 / 0.5897 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.003044/0.4257, allocations: 0.6367 MB / 0.5903 GB, free: 15.23 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1