Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 89.16 kB / 16.67 MB, free: 6.59 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.001349/0.001349, allocations: 179 kB / 17.57 MB, free: 6.191 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.002/2.002, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.278/0.278, allocations: 43.59 MB / 315.6 MB, free: 416 kB / 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.0005763/0.0005763, allocations: 15.12 kB / 385.2 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.87 MB / 444.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006978/0.1424, allocations: 213 kB / 444.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.1433, allocations: 300.4 kB / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.1433, allocations: 0 / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1433, allocations: 0 / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.1433, allocations: 0 / 444.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1444, allocations: 75.56 kB / 444.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.1445, allocations: 0 / 444.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.1446, allocations: 11.94 kB / 444.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.1446, allocations: 0 / 444.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1446, allocations: 7.922 kB / 444.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1446, allocations: 0 / 444.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1448, allocations: 99.91 kB / 444.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1449, allocations: 0 / 444.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.1449, allocations: 29.7 kB / 444.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1451, allocations: 59.83 kB / 444.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1451, allocations: 0 / 444.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1451, allocations: 0 / 444.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1451, allocations: 4 kB / 444.9 MB, free: 4.367 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.0003663/0.1455, allocations: 361.3 kB / 445.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1455, allocations: 8.031 kB / 445.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1456, allocations: 8.844 kB / 445.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.1457, allocations: 164.3 kB / 445.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1457, allocations: 4.375 kB / 445.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1457, allocations: 384 / 445.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.74e-05/0.1458, allocations: 34.19 kB / 445.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1458, allocations: 192 / 445.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1458, allocations: 7.938 kB / 445.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1458, allocations: 4 kB / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.1459, allocations: 0 / 445.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.146, allocations: 145.6 kB / 445.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.146, allocations: 22.61 kB / 445.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.146, allocations: 8.844 kB / 445.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1461, allocations: 3.984 kB / 445.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1461, allocations: 64.27 kB / 445.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1461, allocations: 4 kB / 445.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.1463, allocations: 63.34 kB / 445.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1463, allocations: 81.11 kB / 445.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.339e-05/0.1464, allocations: 93.84 kB / 445.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.1464, allocations: 25.7 kB / 446 MB, free: 3.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.584e-05/0.1464, allocations: 80.14 kB / 446 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1464, allocations: 0 / 446 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.1465, allocations: 9.719 kB / 446 MB, free: 2.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.1465, allocations: 319 kB / 446.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1465, allocations: 0 / 446.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-06/0.1465, allocations: 0 / 446.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.1466, allocations: 68.2 kB / 446.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1466, allocations: 0 / 446.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.367e-05/0.1467, allocations: 63.39 kB / 446.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1467, allocations: 29.7 kB / 446.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1467, allocations: 3.938 kB / 446.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1467, allocations: 8.031 kB / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1467, allocations: 0 / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1467, allocations: 0 / 446.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.1468, allocations: 4 kB / 446.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1468, allocations: 0 / 446.5 MB, free: 2.438 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.139e-05/0.1468, allocations: 135.5 kB / 446.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.1469, allocations: 7.984 kB / 446.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.1469, allocations: 7.062 kB / 446.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1469, allocations: 0 / 446.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1469, allocations: 4 kB / 446.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1469, allocations: 0 / 446.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.551e-05/0.147, allocations: 145.7 kB / 446.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.147, allocations: 4 kB / 446.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-06/0.147, allocations: 3.938 kB / 446.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.147, allocations: 3.984 kB / 446.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.147, allocations: 7.875 kB / 446.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.147, allocations: 0 / 446.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.147, allocations: 0 / 446.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.295e-05/0.1471, allocations: 90.84 kB / 446.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1472, allocations: 81.09 kB / 447 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1472, allocations: 3.938 kB / 447 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.1472, allocations: 4 kB / 447 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1472, allocations: 4 kB / 447 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1472, allocations: 0 / 447 MB, free: 1.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.1473, allocations: 75.28 kB / 447.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1473, allocations: 0 / 447.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1475, allocations: 35.98 kB / 447.1 MB, free: 1.727 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.0005935/0.1481, allocations: 266.6 kB / 447.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1482, allocations: 63.34 kB / 447.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1482, allocations: 4 kB / 447.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.1483, allocations: 55.39 kB / 447.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1484, allocations: 4.125 kB / 447.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.1486, allocations: 100.4 kB / 447.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1488, allocations: 0.6731 MB / 448.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.1488, allocations: 7.438 kB / 448.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1488, allocations: 0 / 448.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Templates: time 0.002895/0.1517, allocations: 1.147 MB / 449.4 MB, free: 15.37 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreamsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreamsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreamsCalcHelperMain.o] Error 1