Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009885, allocations: 98.88 kB / 16.02 MB, free: 76 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.001009/0.001009, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 267.1 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004298, allocations: 16.44 kB / 0.5993 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5915/0.7793, allocations: 182.6 MB / 0.8641 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.7937, allocations: 12.95 MB / 0.8767 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.7949, allocations: 28.59 kB / 0.8767 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.7961, allocations: 346.6 kB / 0.8771 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.7989, allocations: 1.09 MB / 0.8781 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.8005, allocations: 0.6327 MB / 0.8788 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002719/0.8032, allocations: 2.77 MB / 0.8815 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.8041, allocations: 0.704 MB / 0.8821 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.8077, allocations: 1.624 MB / 0.8837 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.8093, allocations: 0.6693 MB / 0.8844 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.789e-05/0.8093, allocations: 32.22 kB / 0.8844 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.8111, allocations: 0.9672 MB / 0.8854 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.8114, allocations: 331 kB / 0.8857 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.8119, allocations: 475.3 kB / 0.8861 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.813, allocations: 1.095 MB / 0.8872 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8131, allocations: 0 / 0.8872 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8131, allocations: 0 / 0.8872 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.8131, allocations: 0 / 0.8872 GB, free: 1.66 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00153/0.8146, allocations: 1.049 MB / 0.8882 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8147, allocations: 8.031 kB / 0.8882 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.8158, allocations: 222.6 kB / 0.8884 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.8167, allocations: 0.6404 MB / 0.8891 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.8168, allocations: 61.98 kB / 0.8891 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.8169, allocations: 76 kB / 0.8892 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.8182, allocations: 0.9411 MB / 0.8901 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8182, allocations: 0 / 0.8901 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.8183, allocations: 31.94 kB / 0.8901 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.8183, allocations: 33.31 kB / 0.8902 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.8192, allocations: 0.6216 MB / 0.8908 GB, free: 13.8 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.003975/0.8232, allocations: 4.593 MB / 0.8953 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.824, allocations: 0.5374 MB / 0.8958 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.8243, allocations: 250.4 kB / 0.896 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.8245, allocations: 105 kB / 0.8961 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.8245, allocations: 42.5 kB / 0.8962 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.8245, allocations: 3.938 kB / 0.8962 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002573/0.8271, allocations: 1.585 MB / 0.8977 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.8272, allocations: 110.8 kB / 0.8978 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.828, allocations: 0.7116 MB / 0.8985 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.828, allocations: 37.95 kB / 0.8986 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.8283, allocations: 427.7 kB / 0.899 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.8284, allocations: 157.7 kB / 0.8991 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.8285, allocations: 53.7 kB / 0.8992 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8286, allocations: 330 kB / 0.8995 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.8289, allocations: 185.2 kB / 0.8997 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.8294, allocations: 417 kB / 0.9001 GB, free: 3.719 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.8315, allocations: 1.194 MB / 0.9012 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8315, allocations: 0 / 0.9012 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009137/0.8324, allocations: 0.6679 MB / 0.9019 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8325, allocations: 14.28 kB / 0.9019 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8325, allocations: 8 kB / 0.9019 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8325, allocations: 8 kB / 0.9019 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.8329, allocations: 123.8 kB / 0.902 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.833, allocations: 16.48 kB / 0.902 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.8336, allocations: 55.81 kB / 0.9021 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.8336, allocations: 28 kB / 0.9021 GB, free: 1.5 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.834, allocations: 274.2 kB / 0.9024 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.8341, allocations: 86.91 kB / 0.9025 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.8343, allocations: 91.66 kB / 0.9026 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.8343, allocations: 4 kB / 0.9026 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8343, allocations: 0 / 0.9026 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006536/0.835, allocations: 0.6988 MB / 0.9032 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.8371, allocations: 1.639 MB / 0.9048 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8372, allocations: 4 kB / 0.9048 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.8376, allocations: 99.95 kB / 0.9049 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.8376, allocations: 11.94 kB / 0.905 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.8377, allocations: 23.92 kB / 0.905 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.8377, allocations: 8.438 kB / 0.905 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8377, allocations: 8 kB / 0.905 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.8387, allocations: 0.8653 MB / 0.9058 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.8389, allocations: 212 kB / 0.906 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.839, allocations: 12 kB / 0.9061 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.8395, allocations: 39.47 kB / 0.9061 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.8396, allocations: 43.84 kB / 0.9061 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.8396, allocations: 19.98 kB / 0.9062 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005709/0.8402, allocations: 0.5068 MB / 0.9066 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8402, allocations: 0 / 0.9066 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006671/0.8409, allocations: 211.9 kB / 0.9068 GB, free: 12.39 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000432/0.8413, allocations: 200.4 kB / 0.907 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006829/0.842, allocations: 472.9 kB / 0.9075 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.842, allocations: 0 / 0.9075 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.8423, allocations: 216.6 kB / 0.9077 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8447, allocations: 464.7 kB / 0.9081 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.8473, allocations: 2.087 MB / 0.9102 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.8479, allocations: 1.028 MB / 0.9112 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.848, allocations: 67.44 kB / 0.9112 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of SimCode: time 1.853e-06/0.848, allocations: 0 / 0.9112 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of Templates: time 0.01764/0.8657, allocations: 12.8 MB / 0.9237 GB, free: 11.13 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1