Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008012/0.0008011, allocations: 90.42 kB / 17.58 MB, free: 5.801 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.0007694/0.0007695, allocations: 181.6 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 224.6 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1187, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002521/0.1213, allocations: 1.281 MB / 330.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.123, allocations: 0.6362 MB / 330.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1231, allocations: 4 kB / 330.9 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1234, allocations: 31.86 kB / 330.9 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1237, allocations: 31.78 kB / 331 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.125, allocations: 0.4908 MB / 331.4 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1253, allocations: 91.7 kB / 331.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1254, allocations: 37.05 kB / 331.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1256, allocations: 51.77 kB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1259, allocations: 63.75 kB / 331.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1259, allocations: 4 kB / 331.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1262, allocations: 139.8 kB / 331.8 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.1263, allocations: 23.92 kB / 331.8 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.1263, allocations: 45.56 kB / 331.9 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1266, allocations: 147.7 kB / 332 MB, free: 1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1266, allocations: 4 kB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1266, allocations: 0 / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1266, allocations: 0 / 332 MB, free: 0.9961 MB / 270.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.001729/0.1284, allocations: 0.5381 MB / 332.6 MB, free: 420 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.1285, allocations: 8.031 kB / 332.6 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1297, allocations: 167.6 kB / 332.7 MB, free: 244 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.13, allocations: 203.4 kB / 332.9 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.13, allocations: 15.95 kB / 333 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.13, allocations: 8 kB / 333 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1305, allocations: 189.5 kB / 333.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1305, allocations: 0 / 333.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1305, allocations: 4 kB / 333.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.1306, allocations: 8 kB / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.131, allocations: 183.8 kB / 333.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1321, allocations: 0.5469 MB / 333.9 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.1326, allocations: 182.4 kB / 334.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1328, allocations: 104.8 kB / 334.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1329, allocations: 7.953 kB / 334.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1329, allocations: 34.56 kB / 334.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.1329, allocations: 0 / 334.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007436/0.1336, allocations: 305 kB / 334.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1337, allocations: 55.41 kB / 334.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1339, allocations: 175.3 kB / 334.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.1339, allocations: 33.7 kB / 334.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.134, allocations: 104 kB / 334.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.1341, allocations: 55.2 kB / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.1341, allocations: 0 / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1342, allocations: 330.8 kB / 335.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1344, allocations: 75.94 kB / 335.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1347, allocations: 103.4 kB / 335.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1349, allocations: 87.95 kB / 335.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1349, allocations: 4 kB / 335.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004923/0.1354, allocations: 241.4 kB / 335.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1354, allocations: 7.953 kB / 335.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1354, allocations: 4 kB / 335.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1354, allocations: 0 / 335.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1357, allocations: 39.97 kB / 335.8 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1357, allocations: 3.984 kB / 335.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1359, allocations: 23.94 kB / 335.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1359, allocations: 11.98 kB / 335.8 MB, free: 12.96 MB / 286.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.000128/0.136, allocations: 133.8 kB / 336 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.1361, allocations: 11.81 kB / 336 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.1368, allocations: 275 kB / 336.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1368, allocations: 4 kB / 336.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1368, allocations: 7.891 kB / 336.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1368, allocations: 3.984 kB / 336.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.1372, allocations: 289.3 kB / 336.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1372, allocations: 0 / 336.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1374, allocations: 35.97 kB / 336.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1374, allocations: 8 kB / 336.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.1374, allocations: 7.984 kB / 336.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1374, allocations: 0 / 336.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1374, allocations: 3.953 kB / 336.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.138, allocations: 347.1 kB / 336.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.138, allocations: 92.86 kB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1381, allocations: 15.92 kB / 337 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1382, allocations: 8 kB / 337.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.1383, allocations: 19.97 kB / 337.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1383, allocations: 4 kB / 337.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1385, allocations: 139.9 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1385, allocations: 4 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1387, allocations: 28 kB / 337.2 MB, free: 11.45 MB / 286.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.0001541/0.1389, allocations: 103.2 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.1394, allocations: 191.8 kB / 337.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1394, allocations: 0 / 337.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1396, allocations: 115.9 kB / 337.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1399, allocations: 16.14 kB / 337.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.1407, allocations: 402.7 kB / 338.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1412, allocations: 0.7205 MB / 338.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.1413, allocations: 27.41 kB / 338.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1413, allocations: 0 / 338.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of Templates: time 0.004402/0.1457, allocations: 2.198 MB / 341 MB, free: 7.621 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunctionCalcHelperMain.o] Error 1