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.00109/0.00109, allocations: 99.45 kB / 17.96 MB, free: 5.766 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.00123/0.00123, allocations: 178.7 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005714/0.0005714, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002047/0.1457, allocations: 1.312 MB / 330.9 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.147, allocations: 0.671 MB / 331.6 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.1471, allocations: 4 kB / 331.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1474, allocations: 39.86 kB / 331.6 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1476, allocations: 27.84 kB / 331.6 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1488, allocations: 0.5878 MB / 332.2 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.149, allocations: 95.75 kB / 332.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1491, allocations: 25.06 kB / 332.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1493, allocations: 59.7 kB / 332.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1495, allocations: 67.69 kB / 332.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1496, allocations: 8 kB / 332.5 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.1498, allocations: 135.8 kB / 332.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.1499, allocations: 35.89 kB / 332.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.15, allocations: 77.31 kB / 332.7 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1503, allocations: 148 kB / 332.9 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1503, allocations: 0 / 332.9 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.1503, allocations: 0 / 332.9 MB, free: 468 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1503, allocations: 0 / 332.9 MB, free: 468 kB / 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.001728/0.152, allocations: 0.5342 MB / 333.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1521, allocations: 11.97 kB / 333.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.1534, allocations: 172.5 kB / 333.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1537, allocations: 196 kB / 333.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.1537, allocations: 8.375 kB / 333.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.1538, allocations: 8.375 kB / 333.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.1542, allocations: 193.9 kB / 334 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1543, allocations: 0 / 334 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1543, allocations: 4 kB / 334 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.1543, allocations: 15.98 kB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.1548, allocations: 175.9 kB / 334.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1559, allocations: 0.5392 MB / 334.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.1564, allocations: 194.3 kB / 334.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1566, allocations: 104.8 kB / 335 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1567, allocations: 0 / 335 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1567, allocations: 38.69 kB / 335 MB, free: 14.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.1567, allocations: 0 / 335 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008592/0.1576, allocations: 308.7 kB / 335.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1576, allocations: 59.34 kB / 335.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1578, allocations: 183.3 kB / 335.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1579, allocations: 25.7 kB / 335.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.158, allocations: 112 kB / 335.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.158, allocations: 55.2 kB / 335.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1581, allocations: 21.7 kB / 335.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1582, allocations: 326.8 kB / 336.1 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.1585, allocations: 71.95 kB / 336.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1587, allocations: 107.4 kB / 336.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.1591, allocations: 203.4 kB / 336.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1591, allocations: 0 / 336.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005122/0.1597, allocations: 237.3 kB / 336.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1597, allocations: 12.09 kB / 336.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1597, allocations: 7.922 kB / 336.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1597, allocations: 0 / 336.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.16, allocations: 39.91 kB / 336.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.16, allocations: 4 kB / 336.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1602, allocations: 23.83 kB / 336.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1602, allocations: 4 kB / 336.8 MB, free: 12.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.1603, allocations: 137.8 kB / 336.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1604, allocations: 11.84 kB / 337 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/0.161, allocations: 282.8 kB / 337.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.161, allocations: 8 kB / 337.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.161, allocations: 0 / 337.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.161, allocations: 3.984 kB / 337.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1614, allocations: 273.5 kB / 337.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1614, allocations: 0 / 337.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1616, allocations: 55.83 kB / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1616, allocations: 0 / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1616, allocations: 3.938 kB / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1617, allocations: 4 kB / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1617, allocations: 0 / 337.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.1623, allocations: 347.2 kB / 337.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.1624, allocations: 96.86 kB / 338 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1624, allocations: 3.938 kB / 338 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1626, allocations: 19.98 kB / 338 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1627, allocations: 11.98 kB / 338 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1627, allocations: 11.98 kB / 338.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1628, allocations: 135.9 kB / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1629, allocations: 0 / 338.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1631, allocations: 28 kB / 338.2 MB, free: 10.77 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 (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.0001852/0.1633, allocations: 111.2 kB / 338.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.1638, allocations: 191.8 kB / 338.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1638, allocations: 4.188 kB / 338.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.1641, allocations: 111.8 kB / 338.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1644, allocations: 15.94 kB / 338.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.1651, allocations: 414 kB / 339 MB, free: 9.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1655, allocations: 0.7322 MB / 339.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.1656, allocations: 23.42 kB / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1656, allocations: 0 / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of Templates: time 0.004345/0.1699, allocations: 2.198 MB / 342 MB, free: 6.91 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++ -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 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