Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007535/0.0007535, allocations: 93.94 kB / 17.63 MB, free: 5.719 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.0009094/0.0009095, allocations: 179.4 kB / 18.52 MB, free: 5.172 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.3 MB / 242.5 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.22 MB / 337.9 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 61.91 MB / 472.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006227/0.1535, allocations: 205.4 kB / 472.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1558, allocations: 1.215 MB / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.1558, allocations: 0 / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1559, allocations: 0 / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.829e-06/0.1559, allocations: 0 / 473.6 MB, free: 12.35 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1572, allocations: 451 kB / 474 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.1572, allocations: 0 / 474 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1573, allocations: 4 kB / 474 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.1573, allocations: 3.938 kB / 474 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.587e-05/0.1573, allocations: 7.984 kB / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.1573, allocations: 0 / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.1607, allocations: 1.869 MB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1607, allocations: 7.984 kB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.1608, allocations: 25.7 kB / 475.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.161, allocations: 115.8 kB / 476.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.161, allocations: 0 / 476.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.161, allocations: 3.938 kB / 476.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1611, allocations: 0 / 476.1 MB, free: 9.867 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003938/0.1615, allocations: 373.1 kB / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.1615, allocations: 11.97 kB / 476.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1616, allocations: 3.953 kB / 476.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1617, allocations: 163.1 kB / 476.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1617, allocations: 8 kB / 476.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1617, allocations: 0 / 476.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1619, allocations: 25.7 kB / 476.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1619, allocations: 0 / 476.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1619, allocations: 4 kB / 476.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1619, allocations: 0 / 476.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.1619, allocations: 3.953 kB / 476.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1621, allocations: 149.7 kB / 476.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.1622, allocations: 26.55 kB / 476.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.1622, allocations: 4.859 kB / 476.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.1622, allocations: 0 / 476.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.1623, allocations: 56.27 kB / 476.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.484e-06/0.1623, allocations: 11.98 kB / 476.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002135/0.1625, allocations: 63.39 kB / 476.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.1626, allocations: 85.05 kB / 477 MB, free: 8.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.1627, allocations: 93.98 kB / 477.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1627, allocations: 25.7 kB / 477.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1628, allocations: 80.14 kB / 477.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1628, allocations: 3.938 kB / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.1628, allocations: 0 / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.163, allocations: 314.8 kB / 477.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.163, allocations: 4 kB / 477.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.163, allocations: 0 / 477.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.163, allocations: 29.77 kB / 477.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.163, allocations: 0 / 477.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.155e-05/0.1631, allocations: 67.39 kB / 477.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.1632, allocations: 29.7 kB / 477.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1632, allocations: 4 kB / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1632, allocations: 0 / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.1632, allocations: 0 / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1632, allocations: 0 / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.1632, allocations: 0 / 477.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1633, allocations: 3.938 kB / 477.7 MB, free: 7.996 MB / 350.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001226/0.1634, allocations: 148 kB / 477.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1634, allocations: 0 / 477.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.1634, allocations: 7.078 kB / 477.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1634, allocations: 0 / 477.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1634, allocations: 0 / 477.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1635, allocations: 0 / 477.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.1636, allocations: 153.6 kB / 478 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1636, allocations: 3.984 kB / 478 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.1636, allocations: 4 kB / 478 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1636, allocations: 0 / 478 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1636, allocations: 4 kB / 478 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1636, allocations: 0 / 478 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1636, allocations: 4 kB / 478 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1638, allocations: 90.78 kB / 478.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1638, allocations: 77.11 kB / 478.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1638, allocations: 7.938 kB / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.1638, allocations: 0 / 478.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1639, allocations: 7.969 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1639, allocations: 0 / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.1639, allocations: 75.28 kB / 478.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1639, allocations: 0 / 478.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.1643, allocations: 71.98 kB / 478.3 MB, free: 7.246 MB / 350.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009379/0.1652, allocations: 402.3 kB / 478.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1653, allocations: 63.39 kB / 478.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1654, allocations: 0 / 478.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.1654, allocations: 55.41 kB / 478.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1655, allocations: 11.83 kB / 478.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.1658, allocations: 108.4 kB / 478.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1662, allocations: 0.6732 MB / 479.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.1663, allocations: 15.44 kB / 479.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1663, allocations: 0 / 479.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.004485/0.1708, allocations: 2.024 MB / 481.7 MB, free: 3.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStringsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStringsCalcHelperMain.o] Error 1