Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, 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.001484/0.001484, 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.547/1.547, 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/AES main/package.mo): time 0.3179/0.3179, allocations: 22.36 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 16 kB / 380.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.402, allocations: 55.98 MB / 436.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001625/0.4036, allocations: 1.168 MB / 437.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.4044, allocations: 470.9 kB / 438.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.4045, allocations: 0 / 438.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.4048, allocations: 16.16 kB / 438.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.4049, allocations: 28.3 kB / 438.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.4051, allocations: 44.39 kB / 438.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.4052, allocations: 98.58 kB / 438.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.4054, allocations: 18.67 kB / 438.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.4054, allocations: 49 kB / 438.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4056, allocations: 59 kB / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4056, allocations: 5.625 kB / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.4056, allocations: 6.844 kB / 438.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.4057, allocations: 27.09 kB / 438.5 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.4057, allocations: 39.42 kB / 438.5 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.4058, allocations: 56.73 kB / 438.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4058, allocations: 0 / 438.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4058, allocations: 3.938 kB / 438.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4059, allocations: 0 / 438.6 MB, free: 36.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007381/0.4066, allocations: 438.6 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4066, allocations: 7.625 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.4067, allocations: 9.969 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.407, allocations: 226.6 kB / 439.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4071, allocations: 10.52 kB / 439.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.4071, allocations: 10.94 kB / 439.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4072, allocations: 67.83 kB / 439.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4073, allocations: 2.938 kB / 439.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4073, allocations: 3.953 kB / 439.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4073, allocations: 0 / 439.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.4074, allocations: 52.23 kB / 439.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.4079, allocations: 368.3 kB / 439.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.408, allocations: 85.44 kB / 439.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.4081, allocations: 30.22 kB / 439.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4081, allocations: 2.781 kB / 439.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.4081, allocations: 30.56 kB / 439.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.4081, allocations: 96 / 439.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002536/0.4084, allocations: 124.2 kB / 440 MB, free: 35.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.4084, allocations: 58.59 kB / 440.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.4088, allocations: 185 kB / 440.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4088, allocations: 32.8 kB / 440.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.4089, allocations: 106 kB / 440.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.4089, allocations: 18.44 kB / 440.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.4089, allocations: 4 kB / 440.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.409, allocations: 325 kB / 440.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.4091, allocations: 30.47 kB / 440.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.4091, allocations: 28.47 kB / 440.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.4092, allocations: 35.59 kB / 440.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4092, allocations: 0 / 440.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/0.4094, allocations: 112.6 kB / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4095, allocations: 2.969 kB / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4095, allocations: 2.875 kB / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4095, allocations: 0 / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4097, allocations: 20.88 kB / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4097, allocations: 6.844 kB / 441 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4098, allocations: 23.48 kB / 441 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4098, allocations: 256 / 441 MB, free: 35.04 MB / 350.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 (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 7.556e-05/0.4099, allocations: 123 kB / 441.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4099, allocations: 13.58 kB / 441.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.41, allocations: 19.56 kB / 441.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.41, allocations: 4 kB / 441.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.41, allocations: 0 / 441.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.41, allocations: 7.422 kB / 441.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.4102, allocations: 203.2 kB / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4102, allocations: 0 / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.4103, allocations: 11.94 kB / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4103, allocations: 0 / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4103, allocations: 10.5 kB / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4103, allocations: 0 / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4103, allocations: 0 / 441.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.4105, allocations: 230.5 kB / 441.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.4106, allocations: 90.95 kB / 441.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4106, allocations: 2.906 kB / 441.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4107, allocations: 18.34 kB / 441.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4108, allocations: 14.53 kB / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.4108, allocations: 0 / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.411, allocations: 149.2 kB / 441.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.51e-07/0.411, allocations: 4.062 kB / 441.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.4113, allocations: 21.38 kB / 441.9 MB, free: 34.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 7.786e-05/0.4113, allocations: 91.44 kB / 442 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.4115, allocations: 62.27 kB / 442.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4115, allocations: 0 / 442.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.4115, allocations: 38.09 kB / 442.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4118, allocations: 17.06 kB / 442.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4123, allocations: 294.1 kB / 442.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.4125, allocations: 0.7057 MB / 443.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.4126, allocations: 16.91 kB / 443.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4126, allocations: 0 / 443.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of Templates: time 0.002887/0.4155, allocations: 1.281 MB / 444.4 MB, free: 33.18 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.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 OMCppAES_AES.ProcessBlocks.SOPDT_overdampedCalcHelperMain.o OMCppAES_AES.ProcessBlocks.SOPDT_overdampedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.ProcessBlocks.SOPDT_overdampedCalcHelperMain.o] Error 1