Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.0009842, allocations: 93.8 kB / 16.95 MB, free: 5.953 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.001255/0.001255, allocations: 184.9 kB / 17.85 MB, free: 5.613 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.541/1.541, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 11.98 kB / 301.4 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 50.42 MB / 351.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001949/0.1559, allocations: 1.213 MB / 353.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1567, allocations: 459.9 kB / 353.5 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.1568, allocations: 0 / 353.5 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.355e-05/0.1569, allocations: 7.938 kB / 353.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.1569, allocations: 3.938 kB / 353.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1571, allocations: 39.91 kB / 353.6 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.1572, allocations: 51.84 kB / 353.6 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1573, allocations: 27.86 kB / 353.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1575, allocations: 19.92 kB / 353.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.1575, allocations: 23.89 kB / 353.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1576, allocations: 4 kB / 353.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.1576, allocations: 15.94 kB / 353.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1576, allocations: 4 kB / 353.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1577, allocations: 37.64 kB / 353.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1578, allocations: 47.91 kB / 353.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1578, allocations: 4 kB / 353.8 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1578, allocations: 0 / 353.8 MB, free: 1.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1578, allocations: 0 / 353.8 MB, free: 1.824 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006189/0.1585, allocations: 383.4 kB / 354.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1585, allocations: 12.02 kB / 354.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1585, allocations: 4 kB / 354.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1587, allocations: 170.9 kB / 354.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1587, allocations: 0 / 354.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1587, allocations: 11.94 kB / 354.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.159, allocations: 97.64 kB / 354.5 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.159, allocations: 0 / 354.5 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.159, allocations: 7.891 kB / 354.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.159, allocations: 0 / 354.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1594, allocations: 103.9 kB / 354.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.1598, allocations: 304.7 kB / 354.9 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1601, allocations: 86.48 kB / 355 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1602, allocations: 60.94 kB / 355 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1602, allocations: 0 / 355 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1603, allocations: 34.59 kB / 355.1 MB, free: 420 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1603, allocations: 4 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005376/0.1608, allocations: 177.6 kB / 355.2 MB, free: 232 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1609, allocations: 55.41 kB / 355.3 MB, free: 164 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.161, allocations: 109.8 kB / 355.4 MB, free: 44 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.161, allocations: 25.7 kB / 355.4 MB, free: 12 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1611, allocations: 95.98 kB / 355.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1611, allocations: 23.72 kB / 355.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.1611, allocations: 4 kB / 355.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1613, allocations: 310.8 kB / 355.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1614, allocations: 51.95 kB / 355.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1616, allocations: 51.91 kB / 355.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1617, allocations: 43.97 kB / 356 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1617, allocations: 0 / 356 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003266/0.1621, allocations: 141.6 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1621, allocations: 4 kB / 356.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1621, allocations: 4 kB / 356.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1621, allocations: 4 kB / 356.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1623, allocations: 19.98 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1623, allocations: 0 / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1624, allocations: 23.88 kB / 356.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1624, allocations: 4.438 kB / 356.2 MB, free: 15.23 MB / 302.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 (5): * Single equations (assignments): 5 * 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 0.0001073/0.1625, allocations: 117.8 kB / 356.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1625, allocations: 7.953 kB / 356.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.1629, allocations: 153.9 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.163, allocations: 4 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.163, allocations: 4 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.163, allocations: 0 / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1632, allocations: 189.5 kB / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1632, allocations: 0 / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1633, allocations: 35.97 kB / 356.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1633, allocations: 3.953 kB / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1633, allocations: 0 / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1633, allocations: 0 / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1633, allocations: 0 / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1637, allocations: 247.4 kB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1638, allocations: 85.02 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1638, allocations: 7.953 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1639, allocations: 19.98 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.164, allocations: 7.984 kB / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.164, allocations: 0 / 357 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.164, allocations: 91.27 kB / 357.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.164, allocations: 0 / 357.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1643, allocations: 11.94 kB / 357.1 MB, free: 14.16 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 (7): * Single equations (assignments): 7 * 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 0.000142/0.1644, allocations: 107.2 kB / 357.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1648, allocations: 103.9 kB / 357.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1648, allocations: 4 kB / 357.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.165, allocations: 59.95 kB / 357.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1653, allocations: 8 kB / 357.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.1658, allocations: 208.4 kB / 357.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1661, allocations: 0.6926 MB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.1662, allocations: 11.44 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1662, allocations: 0 / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Templates: time 0.003023/0.1692, allocations: 0.9624 MB / 359.3 MB, free: 11.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.TestConversionBlockCalcHelperMain.o OMCppModelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlockCalcHelperMain.o] Error 1