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.001598/0.001597, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.002007/0.002007, allocations: 190 kB / 18.72 MB, free: 4.781 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.941/1.941, allocations: 205.1 MB / 224.6 MB, free: 12.5 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.001361/0.001361, allocations: 51.92 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 46.63 MB / 327.2 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.005032/0.1569, allocations: 1.639 MB / 328.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1587, allocations: 0.6826 MB / 329.6 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.1588, allocations: 0 / 329.6 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1592, allocations: 43.86 kB / 329.6 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1594, allocations: 31.84 kB / 329.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1609, allocations: 0.5839 MB / 330.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.1612, allocations: 99.75 kB / 330.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1613, allocations: 37.05 kB / 330.4 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.1616, allocations: 63.7 kB / 330.4 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1618, allocations: 71.67 kB / 330.5 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.1619, allocations: 8 kB / 330.5 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1622, allocations: 139.8 kB / 330.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1623, allocations: 31.91 kB / 330.7 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1624, allocations: 59.59 kB / 330.7 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1627, allocations: 152 kB / 330.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.1628, allocations: 0 / 330.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1628, allocations: 0 / 330.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1628, allocations: 0 / 330.9 MB, free: 1.262 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.002087/0.1649, allocations: 0.5574 MB / 331.4 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.1649, allocations: 12.03 kB / 331.4 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.1664, allocations: 180.5 kB / 331.6 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1667, allocations: 188 kB / 331.8 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1667, allocations: 8.375 kB / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1668, allocations: 12.38 kB / 331.8 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.1673, allocations: 185.9 kB / 332 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1673, allocations: 0 / 332 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1673, allocations: 4 kB / 332 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.1674, allocations: 4 kB / 332 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.1679, allocations: 179.8 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.169, allocations: 0.5275 MB / 332.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.1695, allocations: 182.4 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1697, allocations: 108.7 kB / 333 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1698, allocations: 4.109 kB / 333 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.1698, allocations: 46.5 kB / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.1698, allocations: 0 / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008888/0.1707, allocations: 285.4 kB / 333.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1708, allocations: 51.41 kB / 333.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1711, allocations: 183.3 kB / 333.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1711, allocations: 25.7 kB / 333.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1712, allocations: 111.9 kB / 333.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1714, allocations: 47.3 kB / 333.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.1714, allocations: 41.59 kB / 333.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1717, allocations: 326.8 kB / 334.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1719, allocations: 75.94 kB / 334.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.1722, allocations: 99.38 kB / 334.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.1726, allocations: 191.4 kB / 334.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1726, allocations: 0 / 334.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005367/0.1732, allocations: 225.4 kB / 334.7 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.1732, allocations: 8 kB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.1732, allocations: 3.938 kB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1733, allocations: 0 / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1735, allocations: 48 kB / 334.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1736, allocations: 0 / 334.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1737, allocations: 19.83 kB / 334.7 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1738, allocations: 4 kB / 334.7 MB, free: 13.12 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.0002062/0.174, allocations: 137.8 kB / 334.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.174, allocations: 11.81 kB / 334.9 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007507/0.1748, allocations: 274.9 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1748, allocations: 4 kB / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.1748, allocations: 0 / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1748, allocations: 0 / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1753, allocations: 285.4 kB / 335.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1753, allocations: 0 / 335.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.1757, allocations: 43.91 kB / 335.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1757, allocations: 3.938 kB / 335.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1758, allocations: 7.938 kB / 335.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1758, allocations: 8 kB / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1758, allocations: 0 / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.1766, allocations: 331.2 kB / 335.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.1768, allocations: 92.86 kB / 335.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1769, allocations: 7.938 kB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.177, allocations: 11.98 kB / 335.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.1772, allocations: 15.98 kB / 336 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.1772, allocations: 11.98 kB / 336 MB, free: 11.8 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1774, allocations: 135.9 kB / 336.1 MB, free: 11.67 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1774, allocations: 7.875 kB / 336.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1777, allocations: 24 kB / 336.1 MB, free: 11.64 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.0002823/0.178, allocations: 111.2 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.1786, allocations: 183.8 kB / 336.4 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1786, allocations: 0 / 336.4 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.1789, allocations: 107.8 kB / 336.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1793, allocations: 23.42 kB / 336.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1803, allocations: 404.1 kB / 336.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.1812, allocations: 0.7244 MB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1813, allocations: 27.41 kB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1813, allocations: 3.938 kB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of Templates: time 0.005879/0.1872, allocations: 2.213 MB / 339.9 MB, free: 7.789 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