Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.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.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.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.TestJunctionNM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 100.1 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.001911/0.001911, allocations: 175.2 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.626/1.626, 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.91/0.91, allocations: 89.63 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 13.31 kB / 460.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 68.83 MB / 0.517 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 1.58/1.782, allocations: 332.8 MB / 0.842 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05692/1.839, allocations: 35.82 MB / 0.877 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/1.843, allocations: 27.38 kB / 0.877 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006228/1.85, allocations: 1.269 MB / 0.8783 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02922/1.879, allocations: 6.552 MB / 0.8847 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01226/1.891, allocations: 2.952 MB / 0.8875 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00873/1.9, allocations: 4.756 MB / 0.8922 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/1.902, allocations: 0.8841 MB / 0.8931 GB, free: 23.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/1.909, allocations: 2.042 MB / 0.895 GB, free: 22.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/1.912, allocations: 1.549 MB / 0.8966 GB, free: 22.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/1.912, allocations: 93.16 kB / 0.8966 GB, free: 22.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03386/1.946, allocations: 13.11 MB / 0.9094 GB, free: 19.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002265/1.948, allocations: 0.6621 MB / 0.9101 GB, free: 19.08 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/1.95, allocations: 493.3 kB / 0.9106 GB, free: 19.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02424/1.974, allocations: 6.302 MB / 0.9167 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/1.974, allocations: 2.188 kB / 0.9167 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/1.974, allocations: 4 kB / 0.9167 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001982/1.975, allocations: 0 / 0.9167 GB, free: 16.61 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01455/1.989, allocations: 3.796 MB / 0.9204 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/1.989, allocations: 16.03 kB / 0.9204 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.991, allocations: 256.2 kB / 0.9207 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/1.994, allocations: 1.158 MB / 0.9218 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/1.994, allocations: 144.2 kB / 0.922 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000362/1.994, allocations: 197.9 kB / 0.9221 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005633/2, allocations: 3.074 MB / 0.9251 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/2, allocations: 4 kB / 0.9252 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/2, allocations: 75.78 kB / 0.9252 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/2, allocations: 190.8 kB / 0.9254 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/2.005, allocations: 3.375 MB / 0.9287 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/2.024, allocations: 12.35 MB / 0.9408 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/2.027, allocations: 1.645 MB / 0.9424 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/2.029, allocations: 1.411 MB / 0.9437 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/2.033, allocations: 3.845 MB / 0.9475 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/2.033, allocations: 67.7 kB / 0.9476 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=196): time 1.078e-05/2.033, allocations: 3.984 kB / 0.9476 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200): time 0.01695/2.05, allocations: 8.37 MB / 0.9557 GB, free: 112 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.05, allocations: 101.3 kB / 0.9558 GB, free: 16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/2.052, allocations: 1.153 MB / 0.957 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/2.052, allocations: 60.52 kB / 0.957 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/2.053, allocations: 0.7603 MB / 0.9578 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00085/2.054, allocations: 0.6684 MB / 0.9584 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/2.054, allocations: 32.88 kB / 0.9584 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002197/2.054, allocations: 371.9 kB / 0.9588 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/2.056, allocations: 1.03 MB / 0.9598 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/2.058, allocations: 1.146 MB / 0.9609 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/2.06, allocations: 1.164 MB / 0.9621 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/2.06, allocations: 6.578 kB / 0.9621 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.00597/2.066, allocations: 3.026 MB / 0.965 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/2.066, allocations: 4 kB / 0.965 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/2.066, allocations: 0 / 0.965 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/2.068, allocations: 481.5 kB / 0.9655 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/2.069, allocations: 333 kB / 0.9658 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/2.081, allocations: 5.804 MB / 0.9715 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/2.083, allocations: 154.7 kB / 0.9716 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/2.084, allocations: 113.6 kB / 0.9717 GB, free: 4.188 MB / 0.6544 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 (172): * Single equations (assignments): 160 * Array equations: 10 * 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 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00181/2.086, allocations: 0.5009 MB / 0.9722 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/2.087, allocations: 165.9 kB / 0.9724 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/2.096, allocations: 4.653 MB / 0.9769 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.58e-05/2.096, allocations: 20 kB / 0.9769 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.659e-05/2.096, allocations: 4 kB / 0.9769 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.962e-05/2.096, allocations: 15.95 kB / 0.977 GB, free: 352 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/2.115, allocations: 6.206 MB / 0.983 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/2.115, allocations: 0 / 0.983 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/2.117, allocations: 305.2 kB / 0.9833 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/2.119, allocations: 498 kB / 0.9838 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003186/2.119, allocations: 85.41 kB / 0.9839 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/2.131, allocations: 5.823 MB / 0.9896 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.131, allocations: 4 kB / 0.9896 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009792/2.141, allocations: 4.736 MB / 0.9942 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/2.142, allocations: 274.5 kB / 0.9944 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008401/2.143, allocations: 45.36 kB / 0.9945 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/2.145, allocations: 146.9 kB / 0.9946 GB, free: 3.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/2.146, allocations: 162.8 kB / 0.9948 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/2.146, allocations: 110.6 kB / 0.9949 GB, free: 3.102 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001648/2.148, allocations: 0.9187 MB / 0.9958 GB, free: 2.453 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.51e-07/2.148, allocations: 0 / 0.9958 GB, free: 2.453 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007704/2.155, allocations: 1.633 MB / 0.9974 GB, free: 1.02 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (160): * Single equations (assignments): 148 * Array equations: 10 * 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 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007369/2.163, allocations: 1.974 MB / 0.9993 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006996/2.17, allocations: 3.093 MB / 1.002 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/2.17, allocations: 0 / 1.002 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/2.174, allocations: 1.909 MB / 1.004 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/2.179, allocations: 0.72 MB / 1.005 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/2.19, allocations: 5.622 MB / 1.01 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/2.192, allocations: 1.654 MB / 1.012 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/2.194, allocations: 247.3 kB / 1.012 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of SimCode: time 1.403e-06/2.194, allocations: 0 / 1.012 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of Templates: time 0.7867/2.98, allocations: 71.78 MB / 1.082 GB, free: 131.5 MB / 0.7481 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.TestJunctionNMCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNMCalcHelperMain.o] Error 1