Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000844/0.0008443, allocations: 88.5 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 188 kB / 18.52 MB, free: 5.297 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.538/1.538, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 11.98 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01848/0.1927, allocations: 16.6 MB / 488.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.2019, allocations: 6.626 MB / 495.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.2028, allocations: 23.75 kB / 495.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.2039, allocations: 322 kB / 495.7 MB, free: 6.07 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001709/0.2057, allocations: 0.6878 MB / 496.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.2093, allocations: 1.026 MB / 497.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.213, allocations: 2.976 MB / 0.4887 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.2139, allocations: 0.5556 MB / 0.4893 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.2157, allocations: 0.8915 MB / 0.4901 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.2169, allocations: 0.7474 MB / 0.4909 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.217, allocations: 48 kB / 0.4909 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.2182, allocations: 303.7 kB / 0.4912 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.2185, allocations: 331.1 kB / 0.4915 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.2188, allocations: 201.3 kB / 0.4917 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.22, allocations: 1.072 MB / 0.4927 GB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.22, allocations: 0 / 0.4927 GB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.22, allocations: 7.938 kB / 0.4928 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2201, allocations: 0 / 0.4928 GB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002188/0.2223, allocations: 1.103 MB / 0.4938 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2223, allocations: 8.031 kB / 0.4938 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.2228, allocations: 118.9 kB / 0.494 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.2237, allocations: 0.5707 MB / 0.4945 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.224, allocations: 256.2 kB / 0.4948 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2241, allocations: 83.88 kB / 0.4948 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.2262, allocations: 1.311 MB / 0.4961 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.2262, allocations: 7.938 kB / 0.4961 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2263, allocations: 40 kB / 0.4962 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.2264, allocations: 33.31 kB / 0.4962 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.2279, allocations: 0.961 MB / 0.4971 GB, free: 8.469 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/0.2351, allocations: 7.086 MB / 0.504 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.2358, allocations: 312.1 kB / 0.5043 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.236, allocations: 173.4 kB / 0.5045 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3608/0.5968, allocations: 2.811 MB / 0.5073 GB, free: 48.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.5969, allocations: 37.92 kB / 0.5073 GB, free: 48.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.5969, allocations: 0 / 0.5073 GB, free: 48.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002959/0.5999, allocations: 1.12 MB / 0.5084 GB, free: 47.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.6, allocations: 53.91 kB / 0.5084 GB, free: 47.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6017, allocations: 0.8627 MB / 0.5093 GB, free: 47.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.6017, allocations: 34.42 kB / 0.5093 GB, free: 47.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.6023, allocations: 0.5718 MB / 0.5099 GB, free: 47.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.6025, allocations: 137.2 kB / 0.51 GB, free: 47.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.6025, allocations: 25.59 kB / 0.51 GB, free: 47.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.6028, allocations: 401.8 kB / 0.5104 GB, free: 46.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.6033, allocations: 240.3 kB / 0.5106 GB, free: 46.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.6043, allocations: 0.9638 MB / 0.5116 GB, free: 45.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.6051, allocations: 440.3 kB / 0.512 GB, free: 45.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.6052, allocations: 7.5 kB / 0.512 GB, free: 45.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002475/0.6076, allocations: 1.198 MB / 0.5132 GB, free: 45.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.6077, allocations: 17.17 kB / 0.5132 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/0.6078, allocations: 29.06 kB / 0.5132 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.972e-05/0.6078, allocations: 38.41 kB / 0.5133 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/0.6088, allocations: 281.2 kB / 0.5135 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.907e-05/0.6089, allocations: 52.25 kB / 0.5136 GB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009775/0.6099, allocations: 67.72 kB / 0.5136 GB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.61, allocations: 73.59 kB / 0.5137 GB, free: 45.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006307/0.6107, allocations: 342.5 kB / 0.514 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.6109, allocations: 86.84 kB / 0.5141 GB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.612, allocations: 477.9 kB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.612, allocations: 4.984 kB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.612, allocations: 3.25 kB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.6121, allocations: 1.734 kB / 0.5146 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.6143, allocations: 1.238 MB / 0.5158 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.6143, allocations: 2.75 kB / 0.5158 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6146, allocations: 69.61 kB / 0.5159 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.6147, allocations: 3.375 kB / 0.5159 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.6147, allocations: 10.3 kB / 0.5159 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.6147, allocations: 7.453 kB / 0.5159 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6147, allocations: 1.891 kB / 0.5159 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.6159, allocations: 0.6426 MB / 0.5165 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.6162, allocations: 211.7 kB / 0.5167 GB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/0.6163, allocations: 7.938 kB / 0.5167 GB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6167, allocations: 28.03 kB / 0.5167 GB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.6168, allocations: 28.3 kB / 0.5168 GB, free: 43.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/0.6169, allocations: 26.2 kB / 0.5168 GB, free: 43.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.618, allocations: 0.586 MB / 0.5174 GB, free: 43.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.618, allocations: 3.938 kB / 0.5174 GB, free: 43.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001748/0.6198, allocations: 292.7 kB / 0.5177 GB, free: 43.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008863/0.6207, allocations: 318.5 kB / 0.518 GB, free: 42.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.6226, allocations: 0.6357 MB / 0.5186 GB, free: 42.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6227, allocations: 2.688 kB / 0.5186 GB, free: 42.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.623, allocations: 140 kB / 0.5187 GB, free: 42.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.6249, allocations: 384.1 kB / 0.5191 GB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.6281, allocations: 1.805 MB / 0.5208 GB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.6288, allocations: 0.9968 MB / 0.5218 GB, free: 40.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.6291, allocations: 86.86 kB / 0.5219 GB, free: 40.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6291, allocations: 0 / 0.5219 GB, free: 40.74 MB / 382.1 MB Notification: Performance of Templates: time 0.02942/0.6585, allocations: 14.43 MB / 0.536 GB, free: 31.47 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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 OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.o] Error 1