Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 102.3 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.001155/0.001156, allocations: 178.9 kB / 16.58 MB, free: 6.133 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.582/1.582, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9041/0.9041, allocations: 89.62 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 11.72 kB / 460.6 MB, free: 24.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1743, allocations: 68.82 MB / 0.517 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.7318/0.9062, allocations: 207 MB / 0.7192 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04199/0.9483, allocations: 28.64 MB / 0.7471 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004214/0.9526, allocations: 55.69 kB / 0.7472 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.9591, allocations: 1.426 MB / 0.7486 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.9706, allocations: 2.4 MB / 0.7509 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00829/0.979, allocations: 1.837 MB / 0.7527 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009282/0.9883, allocations: 4.53 MB / 0.7571 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.9903, allocations: 0.7568 MB / 0.7579 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/0.9954, allocations: 1.638 MB / 0.7595 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.9998, allocations: 1.97 MB / 0.7614 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004612/1, allocations: 100 kB / 0.7615 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/1.011, allocations: 3.076 MB / 0.7645 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009751/1.012, allocations: 398.2 kB / 0.7649 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/1.014, allocations: 0.4965 MB / 0.7654 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/1.021, allocations: 2.996 MB / 0.7683 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/1.021, allocations: 0 / 0.7683 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.755e-06/1.021, allocations: 3.984 kB / 0.7683 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.846e-05/1.021, allocations: 0 / 0.7683 GB, free: 9.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.0068/1.028, allocations: 2.631 MB / 0.7709 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.377e-05/1.028, allocations: 12.02 kB / 0.7709 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005739/1.028, allocations: 268.9 kB / 0.7711 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.031, allocations: 1.117 MB / 0.7722 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.031, allocations: 160.2 kB / 0.7724 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003372/1.031, allocations: 227.7 kB / 0.7726 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004727/1.036, allocations: 2.464 MB / 0.775 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/1.036, allocations: 4 kB / 0.775 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/1.036, allocations: 84 kB / 0.7751 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/1.036, allocations: 52 kB / 0.7751 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/1.04, allocations: 2.238 MB / 0.7773 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/1.056, allocations: 11.09 MB / 0.7882 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/1.059, allocations: 1.759 MB / 0.7899 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/1.061, allocations: 0.9138 MB / 0.7908 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/1.071, allocations: 6.566 MB / 0.7972 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/1.074, allocations: 1.047 MB / 0.7982 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 4.659e-06/1.074, allocations: 0 / 0.7982 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01304/1.087, allocations: 5.875 MB / 0.8039 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.087, allocations: 103.1 kB / 0.804 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.089, allocations: 1.3 MB / 0.8053 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/1.089, allocations: 57.7 kB / 0.8054 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/1.09, allocations: 0.8161 MB / 0.8062 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/1.091, allocations: 0.6199 MB / 0.8068 GB, free: 252 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/1.091, allocations: 28 kB / 0.8068 GB, free: 224 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.414/1.505, allocations: 369.9 kB / 0.8071 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/1.507, allocations: 0.6682 MB / 0.8078 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.509, allocations: 0.8607 MB / 0.8086 GB, free: 226.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/1.511, allocations: 0.8073 MB / 0.8094 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.511, allocations: 1.391 kB / 0.8094 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006554/1.518, allocations: 2.499 MB / 0.8119 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/1.518, allocations: 37.83 kB / 0.8119 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.518, allocations: 4.312 kB / 0.8119 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/1.52, allocations: 0.6156 MB / 0.8125 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.521, allocations: 301.2 kB / 0.8128 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.536, allocations: 15.13 MB / 0.8276 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.538, allocations: 153.2 kB / 0.8277 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/1.538, allocations: 72.8 kB / 0.8278 GB, free: 212.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,77.8%) 18,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009467/1.539, allocations: 398.1 kB / 0.8282 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/1.539, allocations: 192.5 kB / 0.8283 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/1.546, allocations: 3.438 MB / 0.8317 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.547, allocations: 20.53 kB / 0.8317 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.547, allocations: 8.094 kB / 0.8317 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/1.547, allocations: 11.84 kB / 0.8317 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.558, allocations: 4.99 MB / 0.8366 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.559, allocations: 2.344 kB / 0.8366 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.56, allocations: 298.6 kB / 0.8369 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/1.562, allocations: 0.5427 MB / 0.8374 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/1.563, allocations: 74.11 kB / 0.8375 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.576, allocations: 14.05 MB / 0.8512 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.576, allocations: 2.281 kB / 0.8512 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00733/1.584, allocations: 3.64 MB / 0.8548 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.585, allocations: 308.4 kB / 0.8551 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/1.586, allocations: 45.66 kB / 0.8551 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.587, allocations: 116.4 kB / 0.8552 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/1.588, allocations: 175.9 kB / 0.8554 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.588, allocations: 69.23 kB / 0.8555 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001454/1.589, allocations: 0.951 MB / 0.8564 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/1.589, allocations: 0 / 0.8564 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003653/1.593, allocations: 0.8809 MB / 0.8573 GB, free: 192.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001888/1.595, allocations: 1.106 MB / 0.8583 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005221/1.6, allocations: 3.078 MB / 0.8613 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.6, allocations: 4 kB / 0.8613 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/1.603, allocations: 2.251 MB / 0.8635 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.607, allocations: 0.7402 MB / 0.8643 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/1.614, allocations: 5.21 MB / 0.8694 GB, free: 184.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/1.615, allocations: 1.487 MB / 0.8708 GB, free: 183.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/1.616, allocations: 205.5 kB / 0.871 GB, free: 183.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.113e-06/1.616, allocations: 0 / 0.871 GB, free: 183.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1064/1.722, allocations: 118.8 MB / 0.9871 GB, free: 64.39 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectorsCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectorsCalcHelperMain.o] Error 1