Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 102.7 kB / 16.52 MB, free: 6.664 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.00198/0.00198, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.856/1.856, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2349/0.2349, allocations: 43.52 MB / 314.2 MB, free: 0.75 MB / 254.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.001668/0.001668, allocations: 67.67 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 57.78 MB / 440.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.003577/0.1575, allocations: 0.5543 MB / 441 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.1584, allocations: 256.7 kB / 441.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.1585, allocations: 0 / 441.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.1585, allocations: 4 kB / 441.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.1586, allocations: 0 / 441.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1589, allocations: 47.88 kB / 441.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.159, allocations: 4 kB / 441.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.159, allocations: 0 / 441.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1591, allocations: 0 / 441.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.811e-05/0.1591, allocations: 0 / 441.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1591, allocations: 0 / 441.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1593, allocations: 63.94 kB / 441.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1593, allocations: 0 / 441.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1594, allocations: 4 kB / 441.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1595, allocations: 35.89 kB / 441.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1595, allocations: 4 kB / 441.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1595, allocations: 0 / 441.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1596, allocations: 3.938 kB / 441.4 MB, free: 6.457 MB / 318.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.0003846/0.16, allocations: 357.3 kB / 441.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.16, allocations: 12.03 kB / 441.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.1601, allocations: 8.828 kB / 441.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/0.1602, allocations: 160.4 kB / 441.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1602, allocations: 384 / 441.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1602, allocations: 384 / 441.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1604, allocations: 38.2 kB / 442 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1604, allocations: 192 / 442 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1604, allocations: 3.938 kB / 442 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1604, allocations: 0 / 442 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.1605, allocations: 0 / 442 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1606, allocations: 153.7 kB / 442.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.1607, allocations: 14.58 kB / 442.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.1607, allocations: 8.953 kB / 442.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1607, allocations: 4 kB / 442.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.1608, allocations: 56.27 kB / 442.2 MB, free: 5.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.1608, allocations: 7.875 kB / 442.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002066/0.161, allocations: 71.33 kB / 442.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.161, allocations: 77.11 kB / 442.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.983e-05/0.1611, allocations: 89.86 kB / 442.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1611, allocations: 25.7 kB / 442.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.661e-05/0.1611, allocations: 84.27 kB / 442.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1612, allocations: 4.281 kB / 442.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1612, allocations: 9.719 kB / 442.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.1613, allocations: 314.8 kB / 442.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.1613, allocations: 0 / 442.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.1613, allocations: 7.984 kB / 442.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.1614, allocations: 64.2 kB / 443 MB, free: 4.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1614, allocations: 4.062 kB / 443 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.136e-05/0.1615, allocations: 55.41 kB / 443 MB, free: 4.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.1615, allocations: 33.7 kB / 443 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1615, allocations: 3.984 kB / 443.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1615, allocations: 3.938 kB / 443.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.1616, allocations: 0 / 443.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1616, allocations: 0 / 443.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.1616, allocations: 3.938 kB / 443.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1616, allocations: 4 kB / 443.1 MB, free: 4.535 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.1617, allocations: 143.5 kB / 443.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1617, allocations: 0 / 443.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.1617, allocations: 7.062 kB / 443.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1618, allocations: 4 kB / 443.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1618, allocations: 7.938 kB / 443.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1618, allocations: 0 / 443.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.1619, allocations: 145.7 kB / 443.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1619, allocations: 0 / 443.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-06/0.1619, allocations: 0 / 443.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1619, allocations: 7.938 kB / 443.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1619, allocations: 7.938 kB / 443.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1619, allocations: 0 / 443.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1619, allocations: 0 / 443.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1621, allocations: 94.81 kB / 443.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1621, allocations: 81.09 kB / 443.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1621, allocations: 7.875 kB / 443.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.1622, allocations: 0 / 443.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1622, allocations: 0 / 443.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1622, allocations: 12.02 kB / 443.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.683e-05/0.1622, allocations: 79.28 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1622, allocations: 0 / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1626, allocations: 20 kB / 443.7 MB, free: 3.82 MB / 318.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 (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.0006936/0.1633, allocations: 259.8 kB / 443.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1634, allocations: 71.33 kB / 444 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1634, allocations: 0 / 444 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.1635, allocations: 55.41 kB / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1637, allocations: 0 / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.164, allocations: 104.4 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1642, allocations: 0.6731 MB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.1642, allocations: 7.438 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1642, allocations: 4.125 kB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of Templates: time 0.003371/0.1676, allocations: 0.9638 MB / 445.8 MB, free: 1.656 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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 OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternalCalcHelperMain.o] Error 1