Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009781/0.0009778, allocations: 100.2 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.001608/0.001609, allocations: 179.5 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006564/0.0006567, allocations: 16.84 kB / 0.6743 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3264, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.957/1.283, allocations: 173.3 MB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.296, allocations: 5.316 MB / 0.9623 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/1.298, allocations: 32.19 kB / 0.9624 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/1.301, allocations: 400.5 kB / 0.9627 GB, free: 4.34 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007903/1.309, allocations: 1.349 MB / 0.9641 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/1.313, allocations: 0.8432 MB / 0.9649 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007735/1.321, allocations: 3.416 MB / 0.9682 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/1.323, allocations: 0.7999 MB / 0.969 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/1.326, allocations: 0.8837 MB / 0.9699 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.328, allocations: 0.908 MB / 0.9708 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/1.328, allocations: 46.88 kB / 0.9708 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/1.331, allocations: 0.7032 MB / 0.9715 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/1.332, allocations: 0.4899 MB / 0.972 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008554/1.333, allocations: 274.2 kB / 0.9722 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/1.336, allocations: 1.629 MB / 0.9738 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.336, allocations: 3.938 kB / 0.9738 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/1.336, allocations: 4 kB / 0.9738 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.514e-05/1.336, allocations: 0 / 0.9738 GB, free: 18.65 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002911/1.339, allocations: 1.368 MB / 0.9752 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.339, allocations: 9.469 kB / 0.9752 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/1.341, allocations: 329.6 kB / 0.9755 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.342, allocations: 0.8363 MB / 0.9763 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/1.342, allocations: 73.59 kB / 0.9764 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.342, allocations: 102.6 kB / 0.9765 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/1.344, allocations: 1.085 MB / 0.9775 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/1.344, allocations: 3.438 kB / 0.9775 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.345, allocations: 43.75 kB / 0.9776 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/1.345, allocations: 35.75 kB / 0.9776 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/1.346, allocations: 1 MB / 0.9786 GB, free: 17.04 MB / 0.7325 GB 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.006494/1.353, allocations: 4.24 MB / 0.9827 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/1.354, allocations: 0.5987 MB / 0.9833 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/1.354, allocations: 347.7 kB / 0.9836 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.354, allocations: 103.6 kB / 0.9837 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.354, allocations: 44.73 kB / 0.9838 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 3.126e-06/1.355, allocations: 3.562 kB / 0.9838 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.00448/1.359, allocations: 2.213 MB / 0.9859 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.359, allocations: 59.5 kB / 0.986 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.36, allocations: 0.8731 MB / 0.9869 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/1.36, allocations: 39.31 kB / 0.9869 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/1.361, allocations: 0.5098 MB / 0.9874 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/1.361, allocations: 199.9 kB / 0.9876 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/1.361, allocations: 12.34 kB / 0.9876 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.361, allocations: 338.8 kB / 0.9879 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/1.362, allocations: 291.8 kB / 0.9882 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/1.362, allocations: 452 kB / 0.9886 GB, free: 11.85 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/1.365, allocations: 1.085 MB / 0.9897 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.365, allocations: 3.938 kB / 0.9897 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00163/1.367, allocations: 0.9255 MB / 0.9906 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.367, allocations: 6.438 kB / 0.9906 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.367, allocations: 5.125 kB / 0.9906 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/1.367, allocations: 99.45 kB / 0.9907 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.368, allocations: 174.4 kB / 0.9909 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/1.372, allocations: 4.278 MB / 0.995 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.373, allocations: 72.44 kB / 0.9951 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/1.373, allocations: 30.05 kB / 0.9951 GB, free: 7.207 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009625/1.374, allocations: 352 kB / 0.9955 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/1.374, allocations: 99.34 kB / 0.9956 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/1.374, allocations: 111.9 kB / 0.9957 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.374, allocations: 6.25 kB / 0.9957 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.375, allocations: 4 kB / 0.9957 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/1.376, allocations: 0.7743 MB / 0.9964 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/1.379, allocations: 1.995 MB / 0.9984 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/1.379, allocations: 3.312 kB / 0.9984 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/1.38, allocations: 160.9 kB / 0.9985 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.824e-05/1.38, allocations: 38.41 kB / 0.9986 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/1.38, allocations: 23.72 kB / 0.9986 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.381, allocations: 1.485 MB / 1 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.381, allocations: 10.41 kB / 1 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/1.383, allocations: 1.242 MB / 1.001 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/1.383, allocations: 253.2 kB / 1.002 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.383, allocations: 13.34 kB / 1.002 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/1.384, allocations: 70.53 kB / 1.002 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.384, allocations: 56.95 kB / 1.002 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/1.384, allocations: 29.3 kB / 1.002 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008001/1.385, allocations: 0.5995 MB / 1.002 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.385, allocations: 0 / 1.002 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001127/1.386, allocations: 306.2 kB / 1.003 GB, free: 3.488 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005036/1.387, allocations: 205 kB / 1.003 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001535/1.388, allocations: 1.005 MB / 1.004 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.388, allocations: 0 / 1.004 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/1.389, allocations: 456 kB / 1.004 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.392, allocations: 0.6198 MB / 1.005 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/1.396, allocations: 2.572 MB / 1.007 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/1.397, allocations: 1.163 MB / 1.008 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/1.397, allocations: 80.94 kB / 1.009 GB, free: 60 kB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/1.397, allocations: 0 / 1.009 GB, free: 60 kB / 0.7325 GB Notification: Performance of Templates: time 0.04318/1.44, allocations: 26.72 MB / 1.035 GB, free: 12.13 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1