Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 100.1 kB / 15.88 MB, free: 12 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.002391/0.002391, allocations: 195.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.576/2.576, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003613/0.003613, allocations: 278.8 kB / 290.9 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.704/1.704, allocations: 169.2 MB / 0.4983 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 101 kB / 0.5951 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3746, allocations: 86.99 MB / 0.6801 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.08342/0.4582, allocations: 49.42 MB / 0.7283 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0335/0.4918, allocations: 12.73 MB / 0.7408 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005842/0.4977, allocations: 71.56 kB / 0.7408 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.5022, allocations: 0.6096 MB / 0.7414 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.513, allocations: 1.709 MB / 0.7431 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007064/0.5201, allocations: 1.208 MB / 0.7443 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.5303, allocations: 4.372 MB / 0.7486 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.5334, allocations: 1.069 MB / 0.7496 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.5377, allocations: 1.108 MB / 0.7507 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.5404, allocations: 0.9564 MB / 0.7516 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.5407, allocations: 63.94 kB / 0.7517 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.5452, allocations: 1.052 MB / 0.7527 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005153/0.5457, allocations: 258.8 kB / 0.753 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.5473, allocations: 0.6332 MB / 0.7536 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.5511, allocations: 1.454 MB / 0.755 GB, free: 4.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.5511, allocations: 3.938 kB / 0.755 GB, free: 4.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5512, allocations: 3.938 kB / 0.755 GB, free: 4.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.135e-05/0.5512, allocations: 0 / 0.755 GB, free: 4.238 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004862/0.5561, allocations: 1.705 MB / 0.7567 GB, free: 2.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.509e-05/0.5562, allocations: 8.031 kB / 0.7567 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.5573, allocations: 207.1 kB / 0.7569 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.5607, allocations: 1.081 MB / 0.7579 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/0.5613, allocations: 126.2 kB / 0.758 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.5615, allocations: 84 kB / 0.7581 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.5645, allocations: 0.9961 MB / 0.7591 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.5645, allocations: 4 kB / 0.7591 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.5646, allocations: 36 kB / 0.7591 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.5647, allocations: 28 kB / 0.7592 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.5672, allocations: 0.6555 MB / 0.7598 GB, free: 15.14 MB / 0.5606 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.008813/0.5761, allocations: 4.41 MB / 0.7641 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.578, allocations: 410.5 kB / 0.7645 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.5788, allocations: 224.7 kB / 0.7647 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.5804, allocations: 1.148 MB / 0.7658 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.5805, allocations: 38.56 kB / 0.7659 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 4.117e-06/0.5805, allocations: 0 / 0.7659 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00461/0.5851, allocations: 1.09 MB / 0.7669 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.5852, allocations: 63.34 kB / 0.767 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.5872, allocations: 0.9317 MB / 0.7679 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.5873, allocations: 33.7 kB / 0.7679 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/0.588, allocations: 0.5773 MB / 0.7685 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.5882, allocations: 110.5 kB / 0.7686 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.5884, allocations: 102.1 kB / 0.7687 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5887, allocations: 330 kB / 0.769 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008663/0.5895, allocations: 193 kB / 0.7692 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5907, allocations: 379.6 kB / 0.7696 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5925, allocations: 0.5726 MB / 0.7701 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.5926, allocations: 4 kB / 0.7701 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002787/0.5953, allocations: 0.7288 MB / 0.7708 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.5954, allocations: 8 kB / 0.7709 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.5954, allocations: 8 kB / 0.7709 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5965, allocations: 166.9 kB / 0.771 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.5975, allocations: 147.8 kB / 0.7712 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.5994, allocations: 1.708 MB / 0.7728 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6008, allocations: 111.4 kB / 0.7729 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.601, allocations: 31.94 kB / 0.773 GB, free: 0.7539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * 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: 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,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008807/0.6018, allocations: 266.3 kB / 0.7732 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.6021, allocations: 110.6 kB / 0.7733 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8573/1.459, allocations: 0.7314 MB / 0.774 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/1.46, allocations: 8.469 kB / 0.774 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.46, allocations: 2.141 kB / 0.7741 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.46, allocations: 2.453 kB / 0.7741 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/1.467, allocations: 1.637 MB / 0.7757 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.467, allocations: 4.891 kB / 0.7757 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009446/1.468, allocations: 93.78 kB / 0.7757 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.469, allocations: 147.7 kB / 0.7759 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/1.469, allocations: 10.45 kB / 0.7759 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/1.471, allocations: 1.707 MB / 0.7776 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.471, allocations: 1.406 kB / 0.7776 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/1.474, allocations: 0.791 MB / 0.7783 GB, free: 93.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009519/1.475, allocations: 246.5 kB / 0.7786 GB, free: 93.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.475, allocations: 12.89 kB / 0.7786 GB, free: 93.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.477, allocations: 75.8 kB / 0.7787 GB, free: 93.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.477, allocations: 26.56 kB / 0.7787 GB, free: 93.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/1.477, allocations: 24.2 kB / 0.7787 GB, free: 93.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001873/1.479, allocations: 0.6301 MB / 0.7793 GB, free: 93.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.479, allocations: 3.969 kB / 0.7793 GB, free: 93.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002353/1.481, allocations: 363 kB / 0.7797 GB, free: 93.01 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/1.483, allocations: 390.1 kB / 0.78 GB, free: 92.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002837/1.486, allocations: 0.5343 MB / 0.7806 GB, free: 92.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.486, allocations: 2.656 kB / 0.7806 GB, free: 92.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.487, allocations: 289.8 kB / 0.7808 GB, free: 92.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/1.492, allocations: 0.5041 MB / 0.7813 GB, free: 92.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/1.498, allocations: 2.304 MB / 0.7836 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.499, allocations: 1.095 MB / 0.7847 GB, free: 90.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/1.5, allocations: 73.27 kB / 0.7847 GB, free: 90.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.5, allocations: 0 / 0.7847 GB, free: 90.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.1917/1.691, allocations: 31.68 MB / 0.8157 GB, free: 75.42 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlowCalcHelperMain.o] Error 1