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.0008551/0.0008549, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009528/0.0009529, allocations: 173 kB / 16.92 MB, free: 6.652 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.272/1.272, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7053/0.7053, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003167, allocations: 12 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4378, allocations: 81.58 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007539/0.4387, allocations: 318.9 kB / 0.5846 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.4389, allocations: 42.7 kB / 0.5846 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.439, allocations: 0.8438 kB / 0.5846 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.439, allocations: 0 / 0.5846 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.4391, allocations: 3.031 kB / 0.5846 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.4392, allocations: 13.09 kB / 0.5847 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.4393, allocations: 8.766 kB / 0.5847 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.4393, allocations: 4.781 kB / 0.5847 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.4394, allocations: 6.562 kB / 0.5847 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.4394, allocations: 1.516 kB / 0.5847 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4394, allocations: 1.094 kB / 0.5847 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.4395, allocations: 15.56 kB / 0.5847 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.4396, allocations: 7.203 kB / 0.5847 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.4396, allocations: 31.77 kB / 0.5847 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.701e-05/0.4397, allocations: 15.52 kB / 0.5847 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4397, allocations: 0.8125 kB / 0.5847 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4397, allocations: 0 / 0.5847 GB, free: 3.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.4397, allocations: 0 / 0.5847 GB, free: 3.754 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.0002484/0.44, allocations: 350.2 kB / 0.5851 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.44, allocations: 9.719 kB / 0.5851 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.44, allocations: 6.75 kB / 0.5851 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.4401, allocations: 163.7 kB / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4401, allocations: 1.062 kB / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4401, allocations: 2.031 kB / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4403, allocations: 63.12 kB / 0.5853 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4403, allocations: 0.75 kB / 0.5853 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4403, allocations: 9.031 kB / 0.5853 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.4404, allocations: 5.828 kB / 0.5853 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.4404, allocations: 24.44 kB / 0.5854 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.4407, allocations: 261.2 kB / 0.5856 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.4408, allocations: 26.05 kB / 0.5856 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.4408, allocations: 7.469 kB / 0.5856 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.4408, allocations: 0.7969 kB / 0.5856 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.4408, allocations: 35.59 kB / 0.5857 GB, free: 2.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.345e-06/0.4408, allocations: 7.922 kB / 0.5857 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001609/0.441, allocations: 64.27 kB / 0.5857 GB, free: 2.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.441, allocations: 78.52 kB / 0.5858 GB, free: 2.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.4411, allocations: 119.4 kB / 0.5859 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4411, allocations: 29.64 kB / 0.586 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.4412, allocations: 97.89 kB / 0.5861 GB, free: 2.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.4412, allocations: 17.27 kB / 0.5861 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.4412, allocations: 13.64 kB / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.4413, allocations: 326 kB / 0.5864 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.4413, allocations: 12.59 kB / 0.5864 GB, free: 1.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/0.4413, allocations: 56.88 kB / 0.5865 GB, free: 1.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.4414, allocations: 133 kB / 0.5866 GB, free: 1.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4414, allocations: 4 kB / 0.5866 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.4416, allocations: 111.7 kB / 0.5867 GB, free: 1.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4416, allocations: 34.31 kB / 0.5867 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4416, allocations: 1.344 kB / 0.5867 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4417, allocations: 7 kB / 0.5867 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.4417, allocations: 11.73 kB / 0.5867 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4417, allocations: 3.172 kB / 0.5867 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.4418, allocations: 16.73 kB / 0.5868 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4418, allocations: 5.562 kB / 0.5868 GB, free: 1.648 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.4419, allocations: 146.6 kB / 0.5869 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4419, allocations: 2.562 kB / 0.5869 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.442, allocations: 8.953 kB / 0.5869 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.442, allocations: 1.266 kB / 0.5869 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.442, allocations: 4.656 kB / 0.5869 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.442, allocations: 0 / 0.5869 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.4421, allocations: 154.2 kB / 0.5871 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4421, allocations: 4 kB / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.4421, allocations: 1.625 kB / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4421, allocations: 0 / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4421, allocations: 1.031 kB / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4421, allocations: 1.531 kB / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4421, allocations: 0 / 0.5871 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.4422, allocations: 165.2 kB / 0.5872 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.4422, allocations: 87.08 kB / 0.5873 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4423, allocations: 0.7812 kB / 0.5873 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.4423, allocations: 6.609 kB / 0.5873 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.4423, allocations: 0.6562 kB / 0.5873 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4424, allocations: 6.547 kB / 0.5873 GB, free: 1.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.183e-05/0.4424, allocations: 90.14 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4424, allocations: 0 / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.4427, allocations: 25.06 kB / 0.5874 GB, free: 0.918 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 (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.0001441/0.4428, allocations: 111.1 kB / 0.5876 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.4429, allocations: 84.58 kB / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4429, allocations: 0 / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.443, allocations: 55.73 kB / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.4432, allocations: 3.141 kB / 0.5877 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.4434, allocations: 136.1 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.4436, allocations: 0.6834 MB / 0.5885 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.4436, allocations: 8.875 kB / 0.5885 GB, free: 15.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4436, allocations: 0 / 0.5885 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002507/0.4461, allocations: 0.6697 MB / 0.5891 GB, free: 15.8 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++ -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.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