Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.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.0008197/0.00082, allocations: 101.4 kB / 15.71 MB, free: 456 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.001002/0.001002, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.54/1.54, 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/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004295, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9626, allocations: 153.6 MB / 1.022 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2065/1.169, allocations: 170.4 MB / 1.188 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01657/1.186, allocations: 12.12 MB / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/1.187, allocations: 27.81 kB / 1.2 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/1.189, allocations: 297.9 kB / 1.2 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/1.192, allocations: 0.8786 MB / 1.201 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/1.194, allocations: 0.5435 MB / 1.202 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003409/1.197, allocations: 2.339 MB / 1.204 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/1.198, allocations: 0.606 MB / 1.205 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004031/1.202, allocations: 1.354 MB / 1.206 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/1.204, allocations: 0.6187 MB / 1.206 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/1.204, allocations: 36 kB / 1.206 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.205, allocations: 455 kB / 1.207 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/1.206, allocations: 339 kB / 1.207 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/1.206, allocations: 201.2 kB / 1.207 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/1.208, allocations: 1.033 MB / 1.208 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.208, allocations: 0 / 1.208 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.452e-06/1.208, allocations: 0 / 1.208 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.02e-05/1.208, allocations: 0 / 1.208 GB, free: 1.406 MB / 0.9512 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.00187/1.21, allocations: 1.062 MB / 1.209 GB, free: 304 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.21, allocations: 11.98 kB / 1.209 GB, free: 292 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.211, allocations: 206.7 kB / 1.21 GB, free: 84 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.212, allocations: 0.6329 MB / 1.21 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.212, allocations: 58 kB / 1.21 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.212, allocations: 76 kB / 1.21 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.214, allocations: 0.9287 MB / 1.211 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.214, allocations: 3.938 kB / 1.211 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/1.214, allocations: 36 kB / 1.211 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/1.214, allocations: 29.3 kB / 1.211 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00096/1.215, allocations: 0.6138 MB / 1.212 GB, free: 13.58 MB / 0.9669 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.004982/1.22, allocations: 4.601 MB / 1.216 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/1.221, allocations: 0.5481 MB / 1.217 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/1.221, allocations: 246.4 kB / 1.217 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.221, allocations: 105 kB / 1.217 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.221, allocations: 38.56 kB / 1.217 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/1.221, allocations: 0 / 1.217 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.0033/1.224, allocations: 1.585 MB / 1.219 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/1.225, allocations: 110.8 kB / 1.219 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/1.225, allocations: 0.7038 MB / 1.22 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/1.226, allocations: 41.64 kB / 1.22 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/1.226, allocations: 423.7 kB / 1.22 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.226, allocations: 157.7 kB / 1.22 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/1.226, allocations: 12 kB / 1.22 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.226, allocations: 334 kB / 1.221 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/1.227, allocations: 181.2 kB / 1.221 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/1.227, allocations: 417 kB / 1.221 GB, free: 3.531 MB / 0.9669 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.001641/1.229, allocations: 0.6689 MB / 1.222 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.229, allocations: 0 / 1.222 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001127/1.23, allocations: 0.666 MB / 1.223 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.23, allocations: 11.95 kB / 1.223 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.23, allocations: 8 kB / 1.223 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.268e-05/1.23, allocations: 8.781 kB / 1.223 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.23, allocations: 135.8 kB / 1.223 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/1.23, allocations: 11.94 kB / 1.223 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/1.231, allocations: 51.81 kB / 1.223 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/1.231, allocations: 31.98 kB / 1.223 GB, free: 1.918 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004606/1.232, allocations: 273.7 kB / 1.223 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.232, allocations: 83.05 kB / 1.223 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.232, allocations: 91.62 kB / 1.223 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/1.232, allocations: 4 kB / 1.223 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.232, allocations: 0 / 1.223 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008944/1.233, allocations: 0.7066 MB / 1.224 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/1.236, allocations: 1.634 MB / 1.225 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.236, allocations: 4 kB / 1.226 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/1.236, allocations: 96.39 kB / 1.226 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.236, allocations: 8 kB / 1.226 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/1.236, allocations: 16 kB / 1.226 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.236, allocations: 7.938 kB / 1.226 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/1.236, allocations: 7.953 kB / 1.226 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/1.237, allocations: 0.8647 MB / 1.226 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/1.238, allocations: 204.1 kB / 1.227 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.238, allocations: 19.98 kB / 1.227 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/1.238, allocations: 36.42 kB / 1.227 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/1.238, allocations: 43.84 kB / 1.227 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/1.239, allocations: 20 kB / 1.227 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000927/1.239, allocations: 0.5028 MB / 1.227 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.239, allocations: 4 kB / 1.227 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009763/1.24, allocations: 196 kB / 1.227 GB, free: 12.83 MB / 0.9825 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 (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.0005437/1.241, allocations: 207.1 kB / 1.228 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000953/1.242, allocations: 471.9 kB / 1.228 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.242, allocations: 0 / 1.228 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/1.242, allocations: 206.2 kB / 1.228 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.244, allocations: 463.7 kB / 1.229 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/1.248, allocations: 2.086 MB / 1.231 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/1.248, allocations: 1.02 MB / 1.232 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.249, allocations: 67.44 kB / 1.232 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/1.249, allocations: 0 / 1.232 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.02391/1.272, allocations: 12.8 MB / 1.244 GB, free: 11.58 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1