Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 101.3 kB / 15.71 MB, free: 452 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.001659/0.001659, allocations: 174.3 kB / 16.58 MB, free: 6.422 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.62/1.62, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9391/0.9391, allocations: 89.61 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 8.844 kB / 460.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1865, allocations: 68.82 MB / 0.517 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.739/1.925, allocations: 0.5131 GB / 1.03 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07336/1.999, allocations: 44.63 MB / 1.074 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007491/2.006, allocations: 51.75 kB / 1.074 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01118/2.017, allocations: 2.478 MB / 1.076 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.8792/2.897, allocations: 13.97 MB / 1.09 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02373/2.92, allocations: 4.321 MB / 1.094 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0264/2.947, allocations: 10.18 MB / 1.104 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007097/2.954, allocations: 1.985 MB / 1.106 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01502/2.969, allocations: 3.238 MB / 1.109 GB, free: 22.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/2.981, allocations: 3.213 MB / 1.112 GB, free: 22.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003015/2.984, allocations: 201.2 kB / 1.112 GB, free: 22.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09329/3.078, allocations: 29.05 MB / 1.141 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004961/3.083, allocations: 1.402 MB / 1.142 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005225/3.088, allocations: 1.044 MB / 1.143 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04902/3.137, allocations: 14.19 MB / 1.157 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/3.137, allocations: 0 / 1.157 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.807e-06/3.137, allocations: 0 / 1.157 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004265/3.138, allocations: 0 / 1.157 GB, free: 15.25 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1130 * Number of variables: 1130 Notification: Performance of Generate backend data structure: time 0.03371/3.171, allocations: 8.053 MB / 1.165 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/3.171, allocations: 8.031 kB / 1.165 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/3.175, allocations: 0.5336 MB / 1.165 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008064/3.183, allocations: 2.411 MB / 1.168 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005178/3.184, allocations: 317 kB / 1.168 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/3.186, allocations: 439.5 kB / 1.168 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/3.209, allocations: 7.196 MB / 1.175 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/3.209, allocations: 0 / 1.175 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/3.21, allocations: 168.4 kB / 1.176 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006924/3.211, allocations: 417.3 kB / 1.176 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/3.229, allocations: 8.189 MB / 1.184 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/3.284, allocations: 27.33 MB / 1.211 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008831/3.293, allocations: 4.238 MB / 1.215 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007521/3.3, allocations: 3.515 MB / 1.218 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009029/3.309, allocations: 8.121 MB / 1.226 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/3.31, allocations: 82.56 kB / 1.226 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=475): time 1.776e-05/3.31, allocations: 0 / 1.226 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=479): time 0.05122/3.361, allocations: 19.73 MB / 1.246 GB, free: 9.645 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/3.361, allocations: 127.5 kB / 1.246 GB, free: 9.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/3.365, allocations: 2.097 MB / 1.248 GB, free: 7.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00193/3.367, allocations: 104 kB / 1.248 GB, free: 7.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/3.369, allocations: 1.527 MB / 1.249 GB, free: 6.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003375/3.372, allocations: 1.595 MB / 1.251 GB, free: 5.621 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/3.373, allocations: 74.22 kB / 1.251 GB, free: 5.605 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0003754/3.374, allocations: 464 kB / 1.251 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/3.378, allocations: 2.533 MB / 1.254 GB, free: 3.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/3.384, allocations: 2.792 MB / 1.257 GB, free: 2.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006476/3.39, allocations: 2.883 MB / 1.259 GB, free: 456 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.041e-05/3.391, allocations: 0 / 1.259 GB, free: 456 kB / 0.795 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.02243/3.413, allocations: 7.402 MB / 1.267 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/3.413, allocations: 4 kB / 1.267 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/3.413, allocations: 0.6562 kB / 1.267 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007615/3.421, allocations: 1.785 MB / 1.268 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/3.425, allocations: 0.7138 MB / 1.269 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/3.443, allocations: 11.5 MB / 1.28 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/3.449, allocations: 319.2 kB / 1.281 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/3.451, allocations: 264.3 kB / 1.281 GB, free: 144 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 26,(5,68.0%) 26} * Non-linear torn systems: 5 {1 5,2 4,2 4,1 5,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00616/3.457, allocations: 1.117 MB / 1.282 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002322/3.459, allocations: 343.8 kB / 1.282 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03419/3.493, allocations: 10.99 MB / 1.293 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003177/3.494, allocations: 51.98 kB / 1.293 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.714e-05/3.494, allocations: 12 kB / 1.293 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002383/3.494, allocations: 20.47 kB / 1.293 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04727/3.542, allocations: 14.88 MB / 1.308 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-05/3.542, allocations: 3.984 kB / 1.308 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004332/3.546, allocations: 0.6828 MB / 1.308 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008169/3.554, allocations: 1.828 MB / 1.31 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00177/3.556, allocations: 177.2 kB / 1.31 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/3.575, allocations: 11.52 MB / 1.322 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/3.575, allocations: 0 / 1.322 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0326/3.608, allocations: 11.57 MB / 1.333 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/3.611, allocations: 418.5 kB / 1.333 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002392/3.613, allocations: 98.16 kB / 1.333 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004712/3.618, allocations: 319.5 kB / 1.334 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00182/3.62, allocations: 360.4 kB / 1.334 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001809/3.621, allocations: 259.3 kB / 1.334 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004129/3.626, allocations: 1.519 MB / 1.336 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.71e-07/3.626, allocations: 0 / 1.336 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.02107/3.647, allocations: 3.447 MB / 1.339 GB, free: 6.523 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (400): * Single equations (assignments): 363 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 26,(5,68.0%) 26} * Non-linear torn systems: 5 {1 5,2 4,2 4,1 5,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02656/3.673, allocations: 4.039 MB / 1.343 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02441/3.698, allocations: 7.066 MB / 1.35 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/3.698, allocations: 0 / 1.35 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01229/3.71, allocations: 4.157 MB / 1.354 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01597/3.726, allocations: 1.408 MB / 1.355 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/3.76, allocations: 11.87 MB / 1.367 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/3.765, allocations: 2.914 MB / 1.37 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004136/3.769, allocations: 0.5031 MB / 1.37 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of SimCode: time 3.486e-06/3.769, allocations: 0 / 1.37 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of Templates: time 0.8636/4.632, allocations: 263.1 MB / 1.627 GB, free: 240.5 MB / 0.92 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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 OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopologyCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopologyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopologyCalcHelperMain.o] Error 1