Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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) 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(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008328, allocations: 94.89 kB / 16.95 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000889/0.0008891, allocations: 179.2 kB / 17.84 MB, free: 5.969 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.526/1.526, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 11.94 kB / 301.4 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 50.42 MB / 351.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002388/0.1458, allocations: 1.311 MB / 353.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1472, allocations: 0.6002 MB / 353.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1473, allocations: 0 / 353.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1476, allocations: 39.84 kB / 353.8 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1478, allocations: 19.88 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.149, allocations: 0.4947 MB / 354.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1491, allocations: 95.67 kB / 354.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1492, allocations: 21.12 kB / 354.4 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1494, allocations: 51.77 kB / 354.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1496, allocations: 71.73 kB / 354.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1496, allocations: 4 kB / 354.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.1498, allocations: 135.8 kB / 354.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.1499, allocations: 31.83 kB / 354.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.15, allocations: 41.64 kB / 354.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1502, allocations: 143.7 kB / 354.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1502, allocations: 0 / 354.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1502, allocations: 0 / 354.9 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1502, allocations: 0 / 354.9 MB, free: 0.9609 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001436/0.1517, allocations: 0.5458 MB / 355.5 MB, free: 376 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1517, allocations: 8.031 kB / 355.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.153, allocations: 175.5 kB / 355.6 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1531, allocations: 197.6 kB / 355.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1532, allocations: 4 kB / 355.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1532, allocations: 8 kB / 355.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.1536, allocations: 193.5 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1536, allocations: 0 / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1536, allocations: 7.891 kB / 356 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.1537, allocations: 15.94 kB / 356 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1541, allocations: 175.9 kB / 356.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.1551, allocations: 0.5391 MB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1555, allocations: 182.5 kB / 356.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1557, allocations: 100.8 kB / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1557, allocations: 0 / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1558, allocations: 46.55 kB / 357.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.1558, allocations: 0 / 357.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007067/0.1565, allocations: 300 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1565, allocations: 59.36 kB / 357.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1567, allocations: 184.2 kB / 357.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1568, allocations: 29.7 kB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1568, allocations: 115.9 kB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.1569, allocations: 51.28 kB / 357.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1569, allocations: 4 kB / 357.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1571, allocations: 326.8 kB / 358.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1572, allocations: 75.95 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1574, allocations: 107.4 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.1576, allocations: 87.89 kB / 358.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1577, allocations: 8 kB / 358.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004638/0.1581, allocations: 233.5 kB / 358.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1582, allocations: 7.984 kB / 358.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1582, allocations: 4 kB / 358.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1582, allocations: 96 / 358.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1584, allocations: 43.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1585, allocations: 0 / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1586, allocations: 31.78 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1586, allocations: 4 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001235/0.1587, allocations: 133.8 kB / 358.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1588, allocations: 11.81 kB / 358.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.1594, allocations: 278.9 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1594, allocations: 8 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1594, allocations: 0 / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1594, allocations: 0 / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.1597, allocations: 285.3 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1597, allocations: 0 / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1599, allocations: 43.95 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1599, allocations: 0 / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.16, allocations: 7.938 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.16, allocations: 0 / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.16, allocations: 0 / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1605, allocations: 355.1 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1606, allocations: 92.86 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1606, allocations: 4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1608, allocations: 15.98 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.1608, allocations: 15.98 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1609, allocations: 7.984 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.161, allocations: 135.9 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.161, allocations: 3.938 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1613, allocations: 32 kB / 360.1 MB, free: 11.41 MB / 302.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001466/0.1614, allocations: 103.2 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.1619, allocations: 202.3 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1619, allocations: 0 / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.1621, allocations: 112.1 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1624, allocations: 16 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.1631, allocations: 412 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1634, allocations: 0.7244 MB / 361.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.1635, allocations: 31.42 kB / 361.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1635, allocations: 0 / 361.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of Templates: time 0.004258/0.1678, allocations: 2.202 MB / 363.9 MB, free: 7.578 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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 OMCppModelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.o] Error 1