Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009743/0.0009794, allocations: 91.84 kB / 16.02 MB, free: 80 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.001023/0.001023, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.396/1.396, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 273.1 kB / 292.3 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9386/0.9386, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004505, allocations: 13.31 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6002/0.796, allocations: 185.7 MB / 0.8672 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.8063, allocations: 5.706 MB / 0.8727 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.8077, allocations: 30.59 kB / 0.8728 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.8093, allocations: 0.4999 MB / 0.8732 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.8146, allocations: 1.727 MB / 0.8749 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.8181, allocations: 1.077 MB / 0.876 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0059/0.824, allocations: 4.083 MB / 0.88 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.8257, allocations: 0.9331 MB / 0.8809 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.8279, allocations: 0.8622 MB / 0.8817 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.8301, allocations: 0.9527 MB / 0.8827 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.8302, allocations: 46.44 kB / 0.8827 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.8341, allocations: 1.626 MB / 0.8843 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.8347, allocations: 0.4908 MB / 0.8848 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.8355, allocations: 0.6508 MB / 0.8854 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.8376, allocations: 1.722 MB / 0.8871 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8376, allocations: 7.922 kB / 0.8871 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8376, allocations: 0 / 0.8871 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.8377, allocations: 4 kB / 0.8871 GB, free: 1.766 MB / 0.5919 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.002273/0.8399, allocations: 1.36 MB / 0.8884 GB, free: 360 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.84, allocations: 12.03 kB / 0.8884 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.8419, allocations: 338.1 kB / 0.8888 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.8432, allocations: 0.8707 MB / 0.8896 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.8433, allocations: 78 kB / 0.8897 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.8434, allocations: 99.91 kB / 0.8898 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.8453, allocations: 1.096 MB / 0.8908 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.8453, allocations: 0 / 0.8908 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8454, allocations: 47.98 kB / 0.8909 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/0.8455, allocations: 37.98 kB / 0.8909 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.8472, allocations: 1.007 MB / 0.8919 GB, free: 12.73 MB / 0.6075 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.005982/0.8532, allocations: 4.251 MB / 0.8961 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.8541, allocations: 0.6146 MB / 0.8967 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.8546, allocations: 346.5 kB / 0.897 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.8548, allocations: 101.5 kB / 0.8971 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.8549, allocations: 47 kB / 0.8971 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.8549, allocations: 0 / 0.8971 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004062/0.859, allocations: 2.232 MB / 0.8993 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.859, allocations: 59.97 kB / 0.8994 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.8601, allocations: 0.8882 MB / 0.9002 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.8602, allocations: 45.62 kB / 0.9003 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.8606, allocations: 0.5068 MB / 0.9008 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.8607, allocations: 193.2 kB / 0.901 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.8608, allocations: 61.69 kB / 0.901 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.861, allocations: 330 kB / 0.9013 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.8615, allocations: 297.8 kB / 0.9016 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.8621, allocations: 444.9 kB / 0.902 GB, free: 1.809 MB / 0.6075 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.003931/0.8661, allocations: 1.776 MB / 0.9038 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8661, allocations: 0 / 0.9038 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001487/0.8676, allocations: 0.9296 MB / 0.9047 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.8676, allocations: 10.69 kB / 0.9047 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8676, allocations: 11.94 kB / 0.9047 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.8678, allocations: 102.5 kB / 0.9048 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.8685, allocations: 167.8 kB / 0.905 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.872, allocations: 4.289 MB / 0.9092 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.8729, allocations: 71.89 kB / 0.9092 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.873, allocations: 24.62 kB / 0.9092 GB, free: 9.93 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005821/0.8736, allocations: 346.2 kB / 0.9096 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.8737, allocations: 110.8 kB / 0.9097 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.874, allocations: 105.2 kB / 0.9098 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.874, allocations: 8 kB / 0.9098 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.874, allocations: 3.938 kB / 0.9098 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.8751, allocations: 0.7731 MB / 0.9106 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.8781, allocations: 2.003 MB / 0.9125 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8781, allocations: 4 kB / 0.9125 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.8788, allocations: 160.2 kB / 0.9127 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-05/0.8789, allocations: 36.84 kB / 0.9127 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.8789, allocations: 19.98 kB / 0.9127 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.8801, allocations: 1.488 MB / 0.9142 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.8801, allocations: 11.94 kB / 0.9142 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.8818, allocations: 1.218 MB / 0.9154 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.8822, allocations: 259.8 kB / 0.9156 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8823, allocations: 16 kB / 0.9156 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.8831, allocations: 80.41 kB / 0.9157 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8832, allocations: 43.83 kB / 0.9158 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.8833, allocations: 31.98 kB / 0.9158 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007687/0.884, allocations: 0.6161 MB / 0.9164 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8841, allocations: 0 / 0.9164 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009944/0.8851, allocations: 304 kB / 0.9167 GB, free: 1.953 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000476/0.8855, allocations: 198.3 kB / 0.9169 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.887, allocations: 1.004 MB / 0.9178 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8871, allocations: 4 kB / 0.9178 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.8877, allocations: 458 kB / 0.9183 GB, free: 256 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.8908, allocations: 0.6174 MB / 0.9189 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.8946, allocations: 2.692 MB / 0.9215 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.8955, allocations: 1.163 MB / 0.9227 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.8957, allocations: 79.42 kB / 0.9227 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/0.8958, allocations: 0 / 0.9227 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of Templates: time 0.03739/0.9331, allocations: 26.82 MB / 0.9489 GB, free: 0.9531 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1