Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 103 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.001565/0.001565, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.383/1.383, allocations: 223.2 MB / 240.6 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7828/0.7828, allocations: 132.3 MB / 424 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 8.75 kB / 0.504 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4966, allocations: 81.57 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007161/0.4973, allocations: 314.9 kB / 0.584 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.4976, allocations: 35.56 kB / 0.584 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.4976, allocations: 0 / 0.584 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.4976, allocations: 0.875 kB / 0.584 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.4977, allocations: 1.156 kB / 0.584 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.4978, allocations: 9.609 kB / 0.584 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.4979, allocations: 11.23 kB / 0.584 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.498, allocations: 1.531 kB / 0.584 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.498, allocations: 2.406 kB / 0.584 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.498, allocations: 6.031 kB / 0.584 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.498, allocations: 4.906 kB / 0.5841 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.4981, allocations: 20.94 kB / 0.5841 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.4982, allocations: 2.219 kB / 0.5841 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.4982, allocations: 27.17 kB / 0.5841 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.376e-05/0.4983, allocations: 19.48 kB / 0.5841 GB, free: 3.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4983, allocations: 0 / 0.5841 GB, free: 3.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4983, allocations: 7.938 kB / 0.5841 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.4983, allocations: 0.9062 kB / 0.5841 GB, free: 3.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002387/0.4985, allocations: 346.2 kB / 0.5845 GB, free: 3.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4986, allocations: 10.17 kB / 0.5845 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.4986, allocations: 5.219 kB / 0.5845 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.009e-05/0.4987, allocations: 165.7 kB / 0.5846 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4987, allocations: 1.797 kB / 0.5846 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.4987, allocations: 0.9688 kB / 0.5846 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.4989, allocations: 54.56 kB / 0.5847 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4989, allocations: 4 kB / 0.5847 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4989, allocations: 0.8125 kB / 0.5847 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.499, allocations: 7 kB / 0.5847 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.4991, allocations: 27.56 kB / 0.5847 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.4994, allocations: 265.9 kB / 0.585 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.4995, allocations: 17.94 kB / 0.585 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.4995, allocations: 6.5 kB / 0.585 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.4995, allocations: 5.125 kB / 0.585 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4996, allocations: 32.25 kB / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.754e-06/0.4996, allocations: 0 / 0.585 GB, free: 2.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.4998, allocations: 75.95 kB / 0.5851 GB, free: 2.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.4998, allocations: 78.69 kB / 0.5852 GB, free: 2.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.4999, allocations: 114.9 kB / 0.5853 GB, free: 2.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4999, allocations: 26.55 kB / 0.5853 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5, allocations: 108.1 kB / 0.5854 GB, free: 2.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.5, allocations: 10.42 kB / 0.5854 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.5, allocations: 0 / 0.5854 GB, free: 2.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.5, allocations: 318.1 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.5001, allocations: 9.719 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.5001, allocations: 59.56 kB / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.5002, allocations: 48.94 kB / 0.5858 GB, free: 1.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5002, allocations: 0.7812 kB / 0.5858 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.5003, allocations: 125.1 kB / 0.586 GB, free: 1.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.5004, allocations: 32.38 kB / 0.586 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5004, allocations: 5.812 kB / 0.586 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5004, allocations: 6.453 kB / 0.586 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.5005, allocations: 11.67 kB / 0.586 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5005, allocations: 7.312 kB / 0.586 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.5006, allocations: 9.031 kB / 0.586 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.5006, allocations: 9.812 kB / 0.586 GB, free: 1.688 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.387e-05/0.5007, allocations: 152.1 kB / 0.5862 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.5007, allocations: 7.516 kB / 0.5862 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.5007, allocations: 5.375 kB / 0.5862 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5007, allocations: 0.5156 kB / 0.5862 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5007, allocations: 4.672 kB / 0.5862 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5007, allocations: 0.6094 kB / 0.5862 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5008, allocations: 154.1 kB / 0.5864 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5009, allocations: 0 / 0.5864 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.5009, allocations: 0 / 0.5864 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5009, allocations: 1.375 kB / 0.5864 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5009, allocations: 5 kB / 0.5864 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5009, allocations: 1.719 kB / 0.5864 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5009, allocations: 0 / 0.5864 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.259e-05/0.501, allocations: 169.1 kB / 0.5865 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.501, allocations: 82.25 kB / 0.5866 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.501, allocations: 1.703 kB / 0.5866 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.5011, allocations: 1.094 kB / 0.5866 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.5012, allocations: 5.531 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.5012, allocations: 2.5 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.5012, allocations: 97.7 kB / 0.5867 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5013, allocations: 0 / 0.5867 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.5017, allocations: 9.062 kB / 0.5867 GB, free: 0.9648 MB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001935/0.5019, allocations: 107 kB / 0.5868 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.5021, allocations: 83.5 kB / 0.5869 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5021, allocations: 4.062 kB / 0.5869 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.5021, allocations: 56.38 kB / 0.587 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.5023, allocations: 10.42 kB / 0.587 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.5025, allocations: 140.3 kB / 0.5871 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.5027, allocations: 0.6781 MB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.5027, allocations: 8.719 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5027, allocations: 1.031 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002567/0.5053, allocations: 0.6624 MB / 0.5884 GB, free: 15.85 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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 OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o] Error 1