Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 102.6 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.001473/0.001473, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.654/1.654, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9137/0.9137, allocations: 89.63 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 18.73 kB / 460.6 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1812, allocations: 68.82 MB / 0.5171 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.6667/0.8479, allocations: 135.8 MB / 0.6497 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006507/0.8544, allocations: 4.299 MB / 0.6539 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.8552, allocations: 9.469 kB / 0.6539 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.856, allocations: 233.1 kB / 0.6541 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.8578, allocations: 0.5906 MB / 0.6547 GB, free: 9.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.8592, allocations: 357.5 kB / 0.655 GB, free: 9.293 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.8605, allocations: 0.9964 MB / 0.656 GB, free: 8.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.8608, allocations: 120.7 kB / 0.6561 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.8617, allocations: 383.9 kB / 0.6565 GB, free: 8.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.8623, allocations: 406.9 kB / 0.6569 GB, free: 8.203 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.8624, allocations: 22.88 kB / 0.6569 GB, free: 8.199 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.8639, allocations: 0.6167 MB / 0.6575 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.864, allocations: 80.7 kB / 0.6576 GB, free: 7.863 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.8641, allocations: 125.6 kB / 0.6577 GB, free: 7.785 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.8648, allocations: 0.5574 MB / 0.6583 GB, free: 7.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8649, allocations: 0 / 0.6583 GB, free: 7.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8649, allocations: 3.938 kB / 0.6583 GB, free: 7.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.8649, allocations: 6.844 kB / 0.6583 GB, free: 7.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001448/0.8663, allocations: 0.7672 MB / 0.659 GB, free: 6.758 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.8664, allocations: 8.719 kB / 0.659 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.8665, allocations: 61.44 kB / 0.6591 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.8672, allocations: 362.2 kB / 0.6594 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.8672, allocations: 39.33 kB / 0.6595 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.8673, allocations: 39.97 kB / 0.6595 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.8682, allocations: 0.4999 MB / 0.66 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.8682, allocations: 4 kB / 0.66 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.8683, allocations: 22.83 kB / 0.66 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.8683, allocations: 10.44 kB / 0.66 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.8691, allocations: 481.1 kB / 0.6605 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.8724, allocations: 2.154 MB / 0.6626 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.8733, allocations: 367.8 kB / 0.6629 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.8737, allocations: 209.1 kB / 0.6631 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/0.8769, allocations: 2.024 MB / 0.6651 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.877, allocations: 37.69 kB / 0.6651 GB, free: 1.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.877, allocations: 0 / 0.6651 GB, free: 1.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.002013/0.879, allocations: 0.787 MB / 0.6659 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.8791, allocations: 56.88 kB / 0.666 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.8797, allocations: 373.9 kB / 0.6663 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.8797, allocations: 36.52 kB / 0.6664 GB, free: 0.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.88, allocations: 218.5 kB / 0.6666 GB, free: 356 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.8801, allocations: 164.4 kB / 0.6667 GB, free: 208 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.8802, allocations: 4 kB / 0.6667 GB, free: 204 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.8804, allocations: 357.2 kB / 0.6671 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.8807, allocations: 134.2 kB / 0.6672 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.881, allocations: 179.8 kB / 0.6674 GB, free: 15.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.8814, allocations: 157.7 kB / 0.6675 GB, free: 15.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8814, allocations: 0 / 0.6675 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009767/0.8824, allocations: 499.7 kB / 0.668 GB, free: 15.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8824, allocations: 7.969 kB / 0.668 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8824, allocations: 4.125 kB / 0.668 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.8827, allocations: 60.39 kB / 0.6681 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.8831, allocations: 95.73 kB / 0.6682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.8855, allocations: 2.714 MB / 0.6708 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.8858, allocations: 41.38 kB / 0.6708 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.8858, allocations: 21.42 kB / 0.6709 GB, free: 12.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.8861, allocations: 164.8 kB / 0.671 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.8862, allocations: 52.12 kB / 0.6711 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.8875, allocations: 0.7095 MB / 0.6718 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8875, allocations: 6.906 kB / 0.6718 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.8875, allocations: 2.844 kB / 0.6718 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.8875, allocations: 0 / 0.6718 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.8893, allocations: 1.165 MB / 0.6729 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8893, allocations: 4 kB / 0.6729 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.8896, allocations: 71.91 kB / 0.673 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.8898, allocations: 73.77 kB / 0.6731 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.8898, allocations: 12 kB / 0.6731 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.8921, allocations: 2.726 MB / 0.6757 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8921, allocations: 0 / 0.6757 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.8933, allocations: 0.7521 MB / 0.6765 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.8935, allocations: 136.4 kB / 0.6766 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.8935, allocations: 15.98 kB / 0.6766 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.8938, allocations: 20 kB / 0.6766 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.8939, allocations: 39.89 kB / 0.6767 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.8939, allocations: 19.98 kB / 0.6767 GB, free: 6.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.8943, allocations: 279.2 kB / 0.677 GB, free: 6.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8943, allocations: 8 kB / 0.677 GB, free: 6.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.895, allocations: 195.7 kB / 0.6771 GB, free: 6.152 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (43): * Single equations (assignments): 41 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005057/0.8955, allocations: 285.9 kB / 0.6774 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.8965, allocations: 0.5811 MB / 0.678 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8966, allocations: 0 / 0.678 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.8972, allocations: 441 kB / 0.6784 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.8981, allocations: 161.5 kB / 0.6786 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.9002, allocations: 1.248 MB / 0.6798 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.9007, allocations: 0.8356 MB / 0.6806 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.9009, allocations: 63.41 kB / 0.6807 GB, free: 2.434 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.9009, allocations: 0 / 0.6807 GB, free: 2.434 MB / 494.1 MB Notification: Performance of Templates: time 0.0179/0.9188, allocations: 12.5 MB / 0.6929 GB, free: 5.98 MB / 0.4981 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Undirected.Processes.Tests.TestFlowResistanceCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistanceCalcHelperMain.o] Error 1