Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.000972, allocations: 103 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 173.6 kB / 16.58 MB, free: 6.383 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.562/1.562, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9129/0.9129, allocations: 89.61 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 12.69 kB / 460.6 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 68.81 MB / 0.517 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.6049/0.7697, allocations: 127.4 MB / 0.6415 GB, free: 4.422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.7734, allocations: 3.056 MB / 0.6445 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.7736, allocations: 11.47 kB / 0.6445 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.7741, allocations: 101.3 kB / 0.6446 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.7745, allocations: 167.2 kB / 0.6447 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.775, allocations: 147 kB / 0.6449 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.7753, allocations: 276.2 kB / 0.6451 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.7754, allocations: 37.5 kB / 0.6452 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.7758, allocations: 127.3 kB / 0.6453 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.7759, allocations: 91.14 kB / 0.6454 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.776, allocations: 5.781 kB / 0.6454 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.7764, allocations: 223.1 kB / 0.6456 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.7764, allocations: 16.98 kB / 0.6456 GB, free: 1.223 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.7765, allocations: 64.55 kB / 0.6457 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.7767, allocations: 139.1 kB / 0.6458 GB, free: 1.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7767, allocations: 11.34 kB / 0.6458 GB, free: 1.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7767, allocations: 0 / 0.6458 GB, free: 1.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.7768, allocations: 0 / 0.6458 GB, free: 1.074 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006681/0.7774, allocations: 444.7 kB / 0.6462 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7775, allocations: 10.5 kB / 0.6462 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.7775, allocations: 19.75 kB / 0.6463 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.7778, allocations: 234.5 kB / 0.6465 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.7778, allocations: 9.422 kB / 0.6465 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.7779, allocations: 14.16 kB / 0.6465 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.7781, allocations: 145.8 kB / 0.6466 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7781, allocations: 0 / 0.6466 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.7782, allocations: 7.219 kB / 0.6466 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7782, allocations: 2.969 kB / 0.6467 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.7783, allocations: 75.38 kB / 0.6467 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.7792, allocations: 0.7082 MB / 0.6474 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.7793, allocations: 77.86 kB / 0.6475 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.7794, allocations: 38.67 kB / 0.6475 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.7796, allocations: 156.7 kB / 0.6477 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7796, allocations: 40.91 kB / 0.6477 GB, free: 15.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.7796, allocations: 0 / 0.6477 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006671/0.7803, allocations: 326.8 kB / 0.648 GB, free: 14.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.7804, allocations: 77.11 kB / 0.6481 GB, free: 14.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.7806, allocations: 223.5 kB / 0.6483 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.7806, allocations: 28.02 kB / 0.6483 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.7807, allocations: 125.2 kB / 0.6485 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.7808, allocations: 30.17 kB / 0.6485 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.7808, allocations: 0 / 0.6485 GB, free: 14.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7809, allocations: 327.8 kB / 0.6488 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.781, allocations: 20.11 kB / 0.6488 GB, free: 14.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.781, allocations: 48.86 kB / 0.6489 GB, free: 14.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.7811, allocations: 33.91 kB / 0.6489 GB, free: 14.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7811, allocations: 0 / 0.6489 GB, free: 14.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002305/0.7814, allocations: 139.8 kB / 0.649 GB, free: 13.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7814, allocations: 9.141 kB / 0.649 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7814, allocations: 192 / 0.649 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.7816, allocations: 45.33 kB / 0.6491 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.7817, allocations: 15.73 kB / 0.6491 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.7837, allocations: 2.555 MB / 0.6516 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.7838, allocations: 18.5 kB / 0.6516 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.7839, allocations: 2.906 kB / 0.6516 GB, free: 11.21 MB / 478.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 (8): * Single equations (assignments): 6 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.784, allocations: 129.6 kB / 0.6517 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.784, allocations: 21.05 kB / 0.6518 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.7844, allocations: 146.6 kB / 0.6519 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7844, allocations: 6.906 kB / 0.6519 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7844, allocations: 0 / 0.6519 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7844, allocations: 6.109 kB / 0.6519 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.785, allocations: 500 kB / 0.6524 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.785, allocations: 7.125 kB / 0.6524 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.785, allocations: 8.047 kB / 0.6524 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.7852, allocations: 38.41 kB / 0.6524 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.7852, allocations: 9.922 kB / 0.6524 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.787, allocations: 2.558 MB / 0.6549 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.7871, allocations: 2.812 kB / 0.6549 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.7874, allocations: 331.3 kB / 0.6553 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.7875, allocations: 98 kB / 0.6554 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.7875, allocations: 6.938 kB / 0.6554 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.7876, allocations: 0 / 0.6554 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.7877, allocations: 6.891 kB / 0.6554 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.7877, allocations: 2.5 kB / 0.6554 GB, free: 7.285 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.7879, allocations: 179.5 kB / 0.6555 GB, free: 7.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.788, allocations: 0 / 0.6555 GB, free: 7.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.7883, allocations: 38.91 kB / 0.6556 GB, free: 7.148 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * 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 (4): * Single equations (assignments): 2 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.7886, allocations: 156.3 kB / 0.6557 GB, free: 7.031 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.789, allocations: 284.7 kB / 0.656 GB, free: 6.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.789, allocations: 0 / 0.656 GB, free: 6.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.7893, allocations: 245.2 kB / 0.6562 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.7899, allocations: 56.36 kB / 0.6563 GB, free: 6.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.7908, allocations: 0.5629 MB / 0.6568 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.7913, allocations: 0.7248 MB / 0.6575 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.7913, allocations: 19.34 kB / 0.6576 GB, free: 5.293 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7913, allocations: 0 / 0.6576 GB, free: 5.293 MB / 478.1 MB Notification: Performance of Templates: time 0.006955/0.7983, allocations: 4.17 MB / 0.6616 GB, free: 3.105 MB / 478.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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 OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSinkCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSinkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSinkCalcHelperMain.o] Error 1